News for hackers. Stuff that matters.

L0stLink

Re:Hezbollah pager explosions kill several people in Lebanon on Saturday September 21, 2024 @06:52PM (#41613255)
Also the most egregious thing: Israel knew about 911 (https://www.youtube.com/watch?v=hdiQuU7upfw) and did not share that intel with the USA. There is more evidence of this but it gets harder to find as time passes and it gets taken down, perhaps no entity benefited more from 911 than Israel.
Re:Hezbollah pager explosions kill several people in Lebanon on Wednesday September 18, 2024 @07:47AM (#41578521)
The reasons behind these polarized emotions will differ based on who you ask and are too many to list. Both sides feel entitled to the land, I personally don't care what the place is called, I just want everyone living in it to have equal rights and for justice to exist in the land. But that requires persecution and killing to end – which I don't see happening in the foreseeable future as tragic as that is.
Re:Hezbollah pager explosions kill several people in Lebanon on Wednesday September 18, 2024 @05:59AM (#41577805)
It is quite disturbing to read some of the comments on this post, there is so much opinion forming done to prop up Israel (an apartheid state) as a bastion of civility in an otherwise sea of "terrorism" that people have become blind to the 7.5 decades of state terrorism done by them. The dehumanization of the victims has reached disturbing proportions.
Re:Victor Mono Typeface on Sunday November 19, 2023 @01:47PM (#38336207)
Though ligatures when I first saw them looked really cool but trying them out I quickly realized how much I hated actually reading and writing code with them turned on. Cursive has also been an odd choice for monospace fonts to me, I don't like how they break the expected uniformity of the monospace text. Varying font weight, color and using italics has always been enough for me.
Re:HTMx on Friday May 26, 2023 @06:59AM (#36082520)
how do you feel about JSX?
There is a great argument for having ultrasonic sensors and radar in a recent video by Rayan from FortNine discussing two fatal accidents involving tesla autopilot https://www.youtube.com/watch?v=yRdzIs4FJJg
Re:ReMarkable 2 on Thursday October 27, 2022 @10:06PM (#33366688)
I am hoping the carta 1200/1250 display which ever it ends up shipping with will help to reduce latency, but for my use case which is more reading and less note taking it is seemingly perfect.
Re:ReMarkable 2 on Thursday October 27, 2022 @02:09AM (#33353786)
I honestly cannot see the value in ReMarkable after the Kindle Scribe announcement. The kindle has a newer faster, 300dpi display vs 226dpi on the ReMarkable. I am waiting on reviews before ordering one for myself, but I can already see that Kindle Scribe is going to be disruptive for this segment.
Re:Plastic recycling remains a 'myth': Greenpeace study on Monday October 24, 2022 @11:50AM (#33318300)
It is not just about ocean plastic. Garbage is burned as fuel too in less developed countries. Stopping dumping of garbage in 2nd and 3rd world countries by developed/first world countries is going to benefit the environment in more ways than just reducing ocean plastics. We need to hold waste producers accountable. We need a systemic change, more push to reuse and recycle, better laws to limit production of single use plastics and a push towards repairability to limit production of e-waste.
This was posted here 5 years ago [0], I had saved the file at the time and rediscovered it today while sorting through my collection of documents. The original link is now gone so I have linked to an archived version of it. While searching online not much can be found on it. I really appreciate the work Markus Bläser has put into this, and have no idea why the original file was taken down. There is little to no information on this online but I think it is really interesting and definitely worth a read.

[0] https://news.ycombinator.com/item?id=14713915

This is so unethical and sadly not rare. I have had people reach out to me (twice, recently) on LinkedIn to interview for them (using names and credentials of people who have work authorization for USA) and the offer is usually a fixed rate + commission per job per month for the lifetime of the job. They hire skilled engineers to secure the jobs for them while outsourcing the actual work. So the scam can go further than just outsourcing the work to people with potentially far lower skills.
Re:GraphQL kinda sucks on Wednesday August 10, 2022 @11:34PM (#32421263)
Yes that is the one strength I think GraphQL has that should be undeniable even though I am not a proponent of GraphQL myself.
Re:GraphQL kinda sucks on Wednesday August 10, 2022 @11:32PM (#32421255)
I know I can make an API endpoint in Rails equally as fast as writing a query in GraphQL and the code needed to use it. I don't really buy into GraphQL yet since I have not come across a strong enough advantage of using it in my carrier. Although I do see the advantage of basically being able to run SQL through the browser. Unfortunately it is just one of may technologies over hyped by JavaScript developers.
Re:GraphQL kinda sucks on Sunday August 07, 2022 @02:50AM (#32374445)
Saving bandwidth is really not the actual super power. The main advantage is being able to save network requests by fetching all required data in the same request.
Re:Our plans for Thunderbird on Android on Monday June 13, 2022 @03:04PM (#31730097)
I would love to see what this will bring to K9 mail. I hope having the support of Thunderbird will allow K9 to really get some much needed polish. My preferred app right now is FairMail, its interface takes some getting used to and settings layout is very confusing but once I did manage to get it setup, it became clear that I preferred its extensive customizability and sidebar vs K9 when it comes to managing emails across multiple accounts. They are basically the only two FLOSS Email apps worth using on android, so K9 getting some extra support is really awesome.
Re:Vim9 Script Feature-Complete on Saturday January 01, 2022 @04:46PM (#29763180)
One measure is the number of stars on github and active contributors 49.7k vs 25.7k and 737 vs 79. The other measure can be the number of new extensions being written for each of them (particularly extremely high quality ones like telescope). Searching `nvim` on github yields many plugins which are advertising the Neovim editor by having it in their name, some of these are even ones which support vim e.g. Shougo/denite.nvim all of which point to the fact that neovim is a huge success and is on tract to overtake vim. It would not be an exaggeration to say that a lot if this is due to first class lua support in Neovim. By adding nice features like treesitter and LSP it has become an improved version of vim, an editor that actually understands the code being edited beyond simple text objects (e.g. https://youtu.be/E4uaPs9e9UU?t=68)
Re:Dracula Theme – A dark theme for many different apps on Thursday December 09, 2021 @10:31AM (#29498450)
I used to love this theme (you can even see it in my old screenshots https://github.com/talha-akram/anvil) but over time I started to prefer lower contrast themes now the same neon colors are jarring to me.
Re:Two lines of CSS that will improve HN on mobile (IMO) on Thursday December 09, 2021 @10:02AM (#29498068)
I use 20px font size in Hacker News - Zenburn Dark (by incrediblygood [1]) to make usable, the default fontsize and the bright colorscheme is fatiguing to my eyes.

[1] https://userstyles.org/styles/97106/hacker-news-zenburn-dark

Re:Tree Sitter and the Complications of Parsing Languages on Wednesday November 24, 2021 @09:56AM (#29330550)
JavaScript will dynamically change the effective type of a value like sting or number into another depending on the operation being performed on it:

'2' * 3 => 6

'2' + 3 => '23'

Re:macOS Monterey on Monday October 25, 2021 @04:18PM (#28992608)
If it is your work machine than you probably shouldn't upgrade right away, give it a week or two (esp. if you work with old/outdated dependencies or packages). For personal machines I would be less cautious.
Re:The database ruins all good ideas on Sunday July 18, 2021 @05:10PM (#27876707)
It is extremely difficult to design a good RDBMS schema without understanding the data model, and once you do, it is there documented in its entirety with best in class tooling for anyone else to come along, pickup and be up to speed with it, additionally you don't have to forgo document storage, most if not all modern RDBMS suppord json(b) types.
Re:The database ruins all good ideas on Sunday July 18, 2021 @08:58AM (#27872561)
RDBMS and Non-RDBMS both have there place, I have used both in the same system several times, all for things that they were good at. Transactions allow you to be confident while making complex changes that in case a failure occurs all partial changes will be rolled back. making use of database level validations and enforcing referential integrity is essential for keeping data consistent over the long term and making data migrations easier. Sure in trivial applications you can just dump data to a document store and have a validation soup handle the rest, that too can be implemented cleanly but Knowing when to leverage RDBMS over other DBMS is an essential skill for an engineer. Because that is how you build scalable systems. Not by throwing JSON stores at everything and calling it a day.
Re:Gadgets That Refuse to Die on Tuesday April 07, 2020 @04:20AM (#22801355)
Using Ublock origin with additional filters enabled, didn't get any popups or redirects (all built in, all under privacy, easylist from adds, all from malware domains, all from annoyances, Dan Pollock’s hosts file and Peter Lowe’s Ad and tracking server list from multipurpose, Adblock Warning Removal List from custom)

additionally I have these custom rules to block YouTube suggestions so I can better focus, has the added advantage that the UI looks better, autoplay can be controlled from the player and playlist can be accessed in full screen mode (which is the only time I really need access to them).

    ##ytd-compact-video-renderer.ytd-watch-next-secondary-results-renderer.style-scope
    ##.ytd-watch-next-secondary-results-renderer.style-scope > paper-button.yt-next-continuation.style-scope
    www.youtube.com##ytd-compact-playlist-renderer.ytd-watch-next-secondary-results-renderer.style-scope
    ! Block the upnext video and the autoplay button
    www.youtube.com###secondary
Re:Best Python IDEs and Code Editors on Thursday January 30, 2020 @11:34AM (#22192650)
In that regard I have been working on a light-weight, extensible vim distribution[0] that makes for a great python IDE.

[0] https://github.com/L0stLink/anvil

Re:A calculator for the Terminal that renders beautiful math on Sunday January 12, 2020 @11:31AM (#22027138)
I use Insect[0][1] as my calculator and it is great and does not have the odd choice of having case-insensitive identifiers plus does not require me to have Haskell installed. I would prefer if Insect was written in a compiled language but I am glad that it exists and JavaScript is really not a deal breaker for me as I need nodejs installed anyway (the same cannot be said for Haskell and this is going to be true for most people) plus you can get "compiled" single binaries for it from the release page[2] that you can put in `~/.local/bin` and not worry about it. I highly recommend trying it out. A bit slow to start but if your window manager supports hiding/showing bound windows through user defined shortcuts (like bspwm, awesomewm, i3, sway, herbstluft and most other tiling window managers) then you can just have it launch in the background on startup and you will have a convenient calculator just a few keystrokes away.

[0] https://insect.sh/?q=%3F

[1] https://github.com/sharkdp/insect

[2] https://github.com/sharkdp/insect/releases

Re:Restic – Backups Done Right on Friday November 01, 2019 @02:58AM (#21416728)
That is not "stateless".
Re:Fish: A command line shell for the 90s on Saturday October 26, 2019 @08:17AM (#21363186)
I really love the syntax and performance of fish shell, I had a few bash scripts that were used to manage the system volume notifications and power/battery information, as I use fish as my interactive shell, I ported them over to fish and tried to compare the performance, and to my surprise the fish variant was faster. I decided to rewrite the random wallpaper script for sway in fish too and it runs much faster then the original python snippet I got from swaywm's issues[0] (link to original python script[1]):

    #!/usr/bin/env fish
    swaymsg 'output "*" background ~/Pictures/Wallpaper/'(ls ~/Pictures/Wallpaper | shuf -n 1)' fill'

I really love fish shell and find its multi-line input extremely valuable, I think it has a much saner syntax (I have no meaningful experience writing bash scripts), if you are like me in this regard I highly recommend writing your personal scripts in fish instead and if you are worried about posix compliance, it is not that different from a bash script with bashisms in that regard.

[0] https://github.com/swaywm/sway/issues/1269#issuecomment-4316... [1] https://git.sr.ht/%7Esircmpwn/dotfiles/tree/master/bin/wallp...

Re:Lesser Known Coding Fonts on Sunday October 20, 2019 @01:34PM (#21305617)
Thanks for the suggestion, I did not know about Cascadia Code. I am a big fan of Consolas font but it is proprietary so I had to look for something better which lead me to discover Fira Mono. I personally really like its design choices, that is why I have been using it for so long also the fact that it is floss font is a huge plus, and If by flare you mean the ligatures then Fira Mono (the original font without the patched in ligatures) might interest you, then again if it has too much flare for you then that is that because font preference is subjective.

Older »