News for hackers. Stuff that matters.

stirner

Re:Journalism Isn't Dying. It's Returning to Its Roots on Saturday February 06, 2021 @03:35PM (#26049697)
Antonio Garcia Marquez’s employment history includes quanting at Goldman Sachs, founding an advertising startup, and working at Facebook. I don’t feel as if I can take the arguments made here at face value, knowing how much money—for the author personally and through his involvement with the aforementioned companies—is at stake in the changes to journalism being described.
I use AdGuard, a content blocker that supports the major ABP lists like EasyList, Fanboy’s, etc. I wish there was a content blocker that support automatic translation of ABP lists into content blocker rules—I’ve been working on one but haven’t found the time to finish it.
Re:Apple's MacBook revival plan: Bring back old features on Sunday January 17, 2021 @01:25PM (#25813316)
I’m with you. Maybe it’s something specific to being a techie and having a ton of peripherals, but being able to connect power, display, keyboard, mouse, webcam, backup drive, Ethernet, etc. with a single cable when I sit down at my desk was absolutely worth the somewhat pricey TB3 dock, especially when switching between work and personal devices.

I’m fine with them adding ports back as long as they still let you do PD into the TB3 ports. It’s still not super easy to determine exactly what features are supported by different devices/adapters/cables, especially when dealing with USB-C. However, it seems like a bit of a backslide on a bold move to push the state of the art forward that I believe was the right move.

Re: MagSafe, I honestly think they would be better off making a MagSafe adapter—a pair of small terminals which connect to the end of the power cable and the port that connect to each other magnetically. I imagine they could make this pretty low-profile and clean. But then it wouldn’t be exclusive to Apple’s own hardware, so I doubt they would ever go this route. A quick search turned up an existing adapter [1] that supports 100W PD and 40 GBPs data transfer so it’s definitely doable.

[1] https://www.newsshooter.com/2020/03/30/magrig-magnetic-usb-c...

I had the exact same experience, but I feel grateful since it’s what got me into programming. I first learned C in order to customize the dwm tiling window manager on Linux. Over time, my priority became simplicity and overall cohesive design over customization, though still in an entirely impractical way (I moved to BSD and briefly Plan 9/9front). Now I’ve settled on a dead-stock macOS setup and spend zero mental bandwidth on customization, but I think going down the customization rabbit hole taught me a lot about software design, UI/UX, and even philosophy in a weird way.
Re:Google Maps' Moat Is Evaporating on Tuesday December 29, 2020 @12:28PM (#25572203)
I agree, I’ve often found smaller or less “online” businesses (e.g. a local car stereo shop) on Google that Maps doesn’t surface. But I usually just search for these in a browser anyway, and open Maps when I actually want to navigate there.
Re:World's first no-kill eggs go on sale in Berlin (2018) on Wednesday November 25, 2020 @02:47PM (#25213439)
I walk past PETA’s west coast headquarters in Los Angeles every week, and they have inset windows behind a small ledge that’s raised from the street and protected from the weather [1]. They have the raised metal studs near the edge of the ledge, which are called “skateboard deterrents” [2], but given that the ledge is a couple inches high and unsuitable for any sort of grind trick, the purpose is clearly to prevent the homeless from sleeping on the ledge comfortably. My take on the vegan debate is that people who do it are making a good choice both practically and morally, and I wish I had the willpower to make it, and I also understand that PETA represents a very specific brand of veganism and animal welfare, but I always feel pretty sad when I see that PETA building and its unethical treatment of humans.

[1] https://goo.gl/maps/iDZ2TZV4o12DiKtL8

[2] https://www.theatlantic.com/business/archive/2014/06/how-cit...

Re:Vim-Mario: Mario on Vim on Thursday October 29, 2020 @12:56PM (#24932556)
> Emacs is a computing environment that happens to revolve around text.

And it’s usually embedded in another computing environment that happens to revolve around text called UNIX. If only the scripting language of the latter was as elegant as Lisp...

Re:AirMessage – Android app to interface with iMessage on a Mac on Saturday September 05, 2020 @02:53PM (#24385955)
None of those messengers were tied to expensive hardware like iMessage.
Re:The Lost Art of Growing Blueberries with Fire on Tuesday July 14, 2020 @09:15PM (#23840143)
I grew up nearby in Washington, Maine, and we burned our fields using this method. It was always fun seeing the firemen in their hazmat-like suits; very Cormac McCarthy-esque.
Re:Every software system used at Gitlab on Wednesday May 13, 2020 @05:46AM (#23165179)
It’s a bit clunky, but Graphviz and its DOT language[1] might do the trick.

[1] https://en.m.wikipedia.org/wiki/Graphviz

Re:Ask HN: Who wants to be hired? (April 2020) on Wednesday April 01, 2020 @02:50PM (#22752225)
Location: Los Angeles

Remote: Yes

Willing to relocate: Can relocate next year if necessary

Technologies: Go, C, Rust, Swift/iOS, JavaScript, HTML/CSS

Résumé/CV: Hosted on my LinkedIn profile in the Featured section

Email: willalexander at alumni usc edu

GitHub: https://github.com/wwalexander

LinkedIn: https://www.linkedin.com/in/wwalexander/

I’m a developer with experience in front end web development, backend and systems development in Golang, and iOS development. I have built a self-hosted music streaming server using Go and FFmpeg, a dynamic DNS system based on the DigitalOcean API, an optimized Rust translation of the UNIX password hashing routine crypt(3) for a password cracker, as well as many other tools focusing on simplicity, correctness, and interoperability. I have worked with iOS and SwiftUI, and led the development of a Python toolkit for hijacking drones at my capstone course at university. I have also helped a small business automate tasks to save time and avert technical issues, including a system for sorting packing lists by warehouse location to improve the ease and efficiency of shipping orders.

I am a fast learner and I love building solutions that get to the core of a particular problem or system. I was recently unemployed due to COVID-19 and would love to talk if you think my skill set could be of use for your business!

Re:Chrome phasing out support for User-Agent on Wednesday March 25, 2020 @02:52PM (#22687349)
Meanwhile, you can still use youtube.com/tv to control playback on your PC from your phone—but only if you spoof your User-Agent to that of the Nintendo Switch [1]. Sounds like they are more interested in phasing out user control than ignoring the header entirely.

[1] https://support.google.com/youtube/thread/16442768?hl=en&msg...

Re:New Diagnostic Architecture Overview on Friday October 18, 2019 @02:48AM (#21289196)
Oh wow, you’re right, at the very top. Skimmed right over that. Thanks for pointing it out.

I guess SwiftUI exacerbates the problem since expressions are necessarily very deeply nested.

Re:New Diagnostic Architecture Overview on Thursday October 17, 2019 @10:04PM (#21288040)
I’ve noticed that when editing the ContentView in SwiftUI, errors will sometimes be attached to a totally unrelated line (OTOH, forgetting to unwrap an optional returned by NumberFormatter.string() showed

    type of expression is ambiguous without more context
on a straightforward Text() expression halfway up the file). The only way to find the actual source of the error is to undo every change until the error disappears, and coupled with sluggish compilation times this becomes a real pain. I hope they address this issue as part of their improvements.
When I was young my parents installed a system-wide child filter for OS X called Safe Eyes that had tons of false positives (and more importantly, blocked online games). I didn't know much about computers but it drove me to learn how to install and configure Linux so that I could do what I wanted. Kids find a way.
When working in a kitchen in California, I had to take the ServSafe Food Handler course online, which consisted of long, patronizing, unskippable videos explaining basic food safety concepts (which I already knew from previous experience) and little "check your knowledge" multiple-choice questions peppered throughout. The only thing that actually affected whether you got the certification was a quiz at the end.

I just poked at the main JS file for a couple of minutes until I found the statement I needed:

    mainController.loadNextScreen()
This turned what would have been a 3+-hour slog into 5 minutes, and I passed the quiz just fine.
Re:Pedestrian detection systems don’t work well, AAA finds on Wednesday October 09, 2019 @06:48AM (#21201857)
The “Volvo effect” refers to standardized testing mostly reflecting the income and education level of one’s parents. I can’t find any research showing that Volvo owners drive more recklessly, but I’d believe it. Do you have any more info?
Off-topic, but this is the first time I’ve seen a colleague’s name show up in a random academic setting. I worked on a group project with Ronald Yu as an undergrad at USC. A smart and friendly guy.
Re:Maybe We Should Stop Creating Inscrutable CLIs on Saturday August 17, 2019 @12:49PM (#20724855)
As other comments have pointed out, it seems like the author is looking for PowerShell. I have used a fair amount of PowerShell and it always leaves me feeling like I should just fire up Visual Studio and learn C#. I think that shell languages should prioritize terseness at the expense of readability, allowing experienced users to accomplish their goals as quickly as possible. Any code that you expect others (or yourself) to maintain in the future does not belong in a shell script.
Re:Apple Sign In on Monday June 03, 2019 @05:23PM (#20088951)
I used to do something similar when I ran my own mail server. Whenever I created an account for a new service, I would add an entry to /etc/aliases e.g.

    news.ycombinator.com: stirner
and sign up for the service as [email protected]. If I ever left a service, I would just remove the corresponding alias and restart Postfix.

I eventually got tired of the work required to avoid spam filters and switched to iCloud Mail, so I’m glad to see this feature built in.

> Ultimately I suppose you’d be able to zoom out to the world and see its Google review score.

“Music, a mode of creative expression consisting of sound and silence expressed through time, was given a 6.8 out of 10 rating in an review published Monday on Pitchfork Media, a well-known music-criticism website.” [1]

[1] https://entertainment.theonion.com/pitchfork-gives-music-6-8...

Re:For the Love of Pipes on Tuesday January 22, 2019 @04:09PM (#18972496)
> “Perhaps surprisingly, in practice it turns out that the special case is the main use of the program.”

This is, in fact, a Useless Use of Cat [1]. POSIX shells have the < operator for directing a single file to stdin:

    figlet <file
[1] http://porkmail.org/era/unix/award.html
Re:Low Earth Orbit billboard for 7B people on Thursday January 17, 2019 @07:06PM (#18935875)
> When deep space exploration ramps up, it’ll be the corporations that name everything: the IBM Stellar Sphere, the Microsoft Galaxy, Planet Starbucks.

(Fight Club, 1999)

Re:The Friendship That Made Google Huge on Monday December 03, 2018 @06:15PM (#18594146)
> Most of the fragile insights that laid the foundation of a new vision emerged not when the whole group was together, and not when members worked alone, but when they collaborated and responded to one another in pairs

The article gives several examples of this dynamic, but one that came to mind for me was how Monty Python members created sketches for Flying Circus:

> Writing started at 9 am and finished at 5 pm. Typically, Cleese and Chapman worked as one pair isolated from the others, as did Jones and Palin, while Idle wrote alone. After a few days, they would join together with Gilliam, critique their scripts, and exchange ideas. Their approach to writing was democratic. If the majority found an idea humorous, it was included in the show.

https://en.m.wikipedia.org/wiki/Monty_Python

Re:Tau Prolog: A Prolog Interpreter in JavaScript on Sunday November 25, 2018 @09:16PM (#18530522)
The undergraduate logic programming course I took used Learn Prolog Now! which is available online for free. [1] I found it to be pretty straightforward and helpful.

[1] http://www.learnprolognow.org/lpnpage.php?pageid=online

Re:Slow Software on Thursday November 22, 2018 @04:14PM (#18512612)
True, the next frame can start getting drawn before the last one, but every desktop compositor I know of uses vsync.
Re:Slow Software on Thursday November 22, 2018 @05:57AM (#18509227)
> When dragging items on the screen, for example, users perceive latencies as low as ~2ms

This seems doubtful, given that even a state-of-the-art 240Hz screen only refreshes every 4.16ms. I guess they could compare dragging on a screen to dragging a physical object, but that would still be comparing 4.16+ms latency to 0ms latency, which doesn't explain the 2ms figure.

Re:CLI: Improved on Thursday August 30, 2018 @04:11PM (#17880291)
>The talk reviews reasons for UNIX's popularity and shows, using UCB cat as a primary example, how UNIX has grown fat. cat isn't for printing files with line numbers, it isn't for compressing multiple blank lines, it's not for looking at non-printing ASCII characters, it's for concatenating files.

>We are reminded that ls isn't the place for code to break a single column into multiple ones, and that mailnews shouldn't have its own more processing or joke encryption code.

Re:Portable Cloud Programming with Go Cloud on Tuesday July 24, 2018 @12:41PM (#17602707)
Because it's not a Go project, it's a Google project[1]. It's like Apple posting new iOS features on the Swift blog, e.g.

[1] https://github.com/google/go-cloud

Older »