prompt
stringlengths
0
90
completion
stringlengths
1
26.3k
Ntfy.sh – Send push notifications to your phone via PUT/POST
Hey cool, this is my project. Happy to answer questions.Edit: I am also looking for a new opportunity. If you need a good Staff/Principal Engineer, check out my resume here: https://heckel.io/resume.pdf
My daughter's school took over my personal Microsoft account
Auth with MS accounts is a giant mess. When I was a city councillor I had a corporate O365 account from the council (used for council email and virtual meetings over teams) and simply trying to sign out of the thing or switch to another account was always fraught (I've got a personal account that's basically just to associate my windows license with and a work account used for azure access). You'd often end up in a state where teams would just refuse to sign in and you'd need to reinstall it to get it to work again.Trying to be actively signed out is also a mess. You can use the teams app to join teams meetings others have setup and invited you too without teams access yourself. Though of course if you have an MS account teams can see it ends up trying to use it and then saying you don't get teams access via that account and trying to sign out and join the meeting with an account associated with it often just doesn't work. A colleague actually ended up requesting he got an o365 account with teams associated with his corp email because of this issue as he had occasional meetings with external people over teams. We have a corp o365 setup for our ops/admin team that engineering normally doesn't touch but because he had a teams invite sent to his corp email he got dragged into it.
Equifax Faces Multibillion-Dollar Lawsuit Over Hack
I'd love to see the $70B number pan out (though $500 per person is less than the damages, I think) -- Equifax is a $17B company, and would presumably stop existing if that happened.On the other hand, these things always settle out of court, and Equifax certainly won't settle the suit for more than they're worth.I said it elsewhere, but I think the right response is to opt out of the class, and sue for $1000 in small claims court. If ~15% of the class does this, they are out of business, and lawyers don't get a dime of the $1000.Also, I'd love to see a new non-profit website that automated the paperwork.
All my servers have an 8 GB empty file on disk
In the mid nineties I worked in a research institute. There was a large shared Novell drive which was always on the verge of full. Almost every day we were asked to clean up our files as much as possible. There were no disc quota for some reason.One day I was working with my colleague and when the fileserver was full he went to a project folder and removed a file called balloon.txt which immediately freed up a few percent of disk space.Turned out that we had a number of people who, as soon as the disk had some free space, created large files in order to reserve that free space for themself. About half the capacity of the fileserver was taken up by balloon.txt files.
Play Counter Strike 1.6, with full multiplayer, in the browser
I remember playing one of the early CS betas as a Half-life mod in ~1999. It was such a huge leap in gameplay and style from anything else out there.Most FPSs up to this point were SciFi based, guns like the BFG and plasma guns. Counterstrike's focus on realism really altered how you connected with the game. Columbine had happened very recently and was still very much in the zeitgeist. There was a very real cultural attack on video games as a scapegoat for the massacre.My friends and I would build CounterStrike maps that were the layout of our highschool and would then run around and shoot each other. This was very taboo at the time. We knew that this would be interpreted as threatening by the powers-that-be at highschool, but it was exciting.
Started a stupid company. Failed.
Hey, other comments are going to give you a few lines telling you to not quit, that you should hang in there, and that it'll be alright. That may be true, but to me it sounds like you're possibly not doing well enough to make any of that possible, and you probably need to find work fast. Here's what I want to do:1. I have a little list of companies looking for employees that I'll send you. Not much just companies that have contacted me looking for people. 2. I am a bad ass writer and have a crazy resume, but more importantly I know how to craft resumes and I'll look at yours and help you fix it up. 3. If you're in the San Francisco area I'll meet up with you and listen to what happened and see if there's a way to work out of it, or at least listen. 4. If you email me at [email protected] I'll talk with you and see if there's other ways I can help.I'm serious, hit me up on email and I'll help out if I can. In fact, this goes for anyone else looking for work right now. Email the above and I'll reply with my little list. I don't make commissions on placement or anything like that, just a good thing to do.
Announcing SQL Server on Linux
Can someone tell me why I would want to use SQL Server when there are so many robust and free RDBMS available on Linux?
"DigitalOcean Killed Our Company"
As DigitalOcean's CTO, I'm very sorry for this situation and how it was handled. The account is now fully restored and we are doing an investigation of the incident. We are planning to post a public postmortem to provide full transparency for our customers and the community.This situation occurred due to false positives triggered by our internal fraud and abuse systems. While these situations are rare, they do happen, and we take every effort to get customers back online as quickly as possible. In this particular scenario, we were slow to respond and had missteps in handling the false positive. This led the user to be locked out for an extended period of time. We apologize for our mistake and will share more details in our public postmortem.
Google's Captcha in Firefox vs. in Chrome
I was going through the same ordeal as a Firefox user, so I've made Buster to solve challenges and reclaim some of that lost time: https://github.com/dessant/busterIf you're a developer, please consider replacing reCAPTCHA on your site with an alternative. reCAPTCHA discriminates against people with disabilities and those who seek privacy, and it gaslights you into thinking you did not solve the challenge correctly, which is plain cruel.Here are some reCAPTCHA alternatives: https://www.w3.org/TR/turingtest/
Ladybird: A new cross-platform browser project
My favorite part:> Q: Why bother? You can’t make a new browser engine without billions of dollars and hundreds of staff.Sure you can. Don’t listen to armchair defeatists who never worked on a browser.
See this page fetch itself, byte by byte, over TLS
While we all (HN audience) know roughly what kind of things are going on, seeing it in all the delicate details is fascinating.Just thinking that all these bytes and everything that's happening have 6 more layers below all the way to physical electrical/electromagnetic flow, all routed potentially through many different ISP backbones and possibly international routes, all happening in roughly less than 1/10 of a second is even more fascinating.
CityBound – An open source city simulation game in Rust
Author of Citybound here! Feel free to ask me any questions about the project! I’m mostly active on the Citybound subreddit in general.Also, check out the main homepage at https://aeplay.org/citybound for a more player-centric intro
Project Starline: Feel like you're there, together
A good friend of mine at Google is the technical lead of this project (he has a Phd Princeton, and was a professor before joining Google).I've tried it in person and it was truly amazing. They used some very fancy tech when I saw the demo, so I'm thrilled it is finally being announced and possibly shared with a larger audience.Explanation of why it is amazing: It totally fools your perception. No glasses or goggles--but rather an 8k display with special glass that allows your different eyes to see different pixels (a light field).They also optimize the sound, and the rest, so as all the testimonials point out, you actually feel like the person is in front of you.It also works for the "cube" around them, so if they hold up some object, it also feels like that is in front of you.Amazing...
Ask HN: I've been slacking off at Google for 6 years. How can I stop this?
You remind me myself a few years ago: a talented, but bored slacker who didn't see any point in investing any energy into that project. Turns out I was right: the project didn't go anywhere after I left and investing any extra time would be a clueless thing to do.So what's changed since then? Have I found meaning in work? No! I've become a professional slacker who knows all these psychological tricks, knows what body language to use to make the desired impression, what to say and what not to say. My managers think I'm a high performer who also makes valuable social contributions to our team and this is reflected in pay rises. I see my mission at work in carefully educating the overly enthusiastic co-workers by dropping a few seemingly random hints or observations that make them think and challenge their beliefs.Work is just work and unless you're curing cancer, you shouldn't put any effort into making some billionaires richer. Just do the minimum, get your paycheck and appreciate the fact that you don't need to worry about money. Very few people in the world have this level of freedom.But life is quite a bit more interesting than it seems. Learn applied psychology to understand what drives people. Learn about all these LLCs, corps, trusts and other fun stuff. Talk to a lawyer and try to start your own company. No need to leave your current job: you can use the gained knowledge to hide traces, while still being very legal and very cool. Even if you get caught, use the learned psychology tricks to negotiate: you may even find yourself in a VP position as few people can covertly pull this type of stuff. Even if it doesn't work, there is nothing to lose: 50 years later the only thing you will regret is not taking the risk because of some silly non competes with a company that no longer exists. Learn some Buddhism and some Tiberian phylosophy: it gives a very interesting and different outlook at life. Learn how pilot an airplane: like I said, there is nothing to lose.
Guido van Rossum joins Microsoft
So instead of BDFL for Python, he's going "make using Python better".Congrats to him for finding something fun to do in retirement - dictators usually end up with a different outcome. ;)I'm looking forward to seeing the future of Python - I think this move will be great for the whole community, and lets him push boundaries without being bogged down on the management side.
VideoLAN is 20 years old today
As usual, please don't hesitate to ask questions about VLC, VideoLAN or related projects (x264, dav1d, libbluray...)Disclaimer: VideoLAN president
I'm 17 and wrote this guide on how CPUs run programs
Hi! I'm Lexi, I wrote this article/mini-book.There's a classic question of "what happens when you load a website?", but I've always been more interested in "what happens when you run a program?". About 3 months ago, I was really annoyed at myself for not knowing how to answer that question so I decided to teach myself.I taught myself everything else I know in programming, so this should be easy, right? NOPE! Apparently everything online about how operating systems and CPUs work is terrible. There are, like, no resources. Everything sucks. So while I was teaching myself I realized, hey, I should make a really good resource myself. So I started taking notes on what I was learning, and ended up with a 60-page Google Doc. And then I started writing.And while I was writing, it turned out that most of the stuff in that giant doc was wrong. And I had to do more research. And I iterated and iterated and iterated and the internet resources continued to be terrible so I needed to make the article better. Then I realized it needed diagrams and drawings, but I didn't know how to do art, so I just pulled out Figma and started experimenting. I had a Wacom tablet lying around that I won at some hackathon, so I used that to draw some things.Now, about 3 months later, I have something I'm really proud of! I'm happy to finally share the final version of Putting the "You" in CPU, terrible illustrations and all. I built this as part of Hack Club (https://hackclub.com), which is a community of other high schoolers who love computers.It was cool seeing some (accidental) reception on HN a couple weeks ago while this was still a WIP, I really appreciated the feedback I got. I took some time to substantially clean it up and I'm finally happy to share with the world myself.The website is a static HTML/CSS project, I wrote everything from scratch (I'm especially proud of the navigation components).I hope you enjoy, and I hope that this becomes a resource that anyone can use to learn!
Diamonds Suck (2006)
I'm the OP - surprised to see this at the top of HN today, but happy to post a quick update:My wife and I have been happily married for ten years now. She loves her ring, and it has held up extremely well. (She just had the band resized, absolutely no issues with the stones.)No one has ever thought it was anything other than a diamond ring, which includes several years of daily scrutiny from crazy New York City brides in her role as a bridal gown sales manager in a high-end atelier in Midtown Manhattan. Those who know about the stones think they're beautiful and love that there's a good alternative to diamond.I stand by everything I said in this essay, and would 100% recommend moissanite to anyone who is (or will soon be) in the jewelry market.
MITM on HTTPS traffic in Kazakhstan
I find the social aspect of this interesting. Us "smart tech people" have been pushing https everywhere for a few years now as a way of protecting internet privacy "for the masses".And now the government found a very simple non-technical workaround. Send a message to everyone requiring a government root CA with an easy install, or their internet won't work.Now "us techies" have to find a new technical solution to a very social problem.It never ends. :(
Ask HN: What's your quarantine side project?
I have two:1) Trail Router (https://trailrouter.com) - This is a running route planner that favours greenery and nature in the routes it generates. It can generate point-to-point or round-trip routes that meet a specified distance. I developed this because I am (or was...) a frequent traveller for work, and want to run in nice areas rather than by horrible busy roads when I'm visiting somewhere new. Naturally, the utility of this tool is limited at the moment for people stuck in lockdown!2) Fresh Brews (https://twitter.com/FreshBrews_UK) - I've been touring the UK's finest craft beer breweries from my own home in recent weeks. New beer releases sell out very quickly and I was frequently missing out. Fresh Brews is a simple bot that monitors the online shops of my favourite breweries and posts when a new beer is released to the shop, or an item comes back into stock.
Chuck Feeney Is Now Officially Broke
I vaguely recall that there are classic levels in Jewish philosophy regarding philanthropy, and among the highest is to give with no expectation of any return whatsoever: that means not only giving where it matters, but to do so anonymously, to organizations that don't benefit you (no opera companies), and to people with no ties to you. In this respect Chuck Feeney has been incredible.This is not to dismiss the likes of Bill Gates: he has been very public with his donations, but in some cases (notably celebrity) notoriety in your donations may create a multiplier effect as it encourages others to do likewise. Even so, I think this is still on a lower-rung, philanthropy-wise, than Feeney's approach.Nonetheless, we're sitting here praising someone who reduced himself from billions to $2M, but we must remind ourselves that this is unimpressive compared to the poor person who donates $25 to others while starving herself. The value of money is nonlinear. I'm sure that Feeney would say this as well: he no doubt sees himself as saddled with the burden of billions of dollars rather than someone doing something amazing.I wonder if I ever will have the strength to do what he has done.
Show HN: I'm building an open-source Amazon
Those efforts look impressive but no service will be a version (open source or otherwise) of Amazon until it can place a single tube of toothpaste in my garage 18 hours after I ordered it, which it just did thirty minutes ago.Amazon’s “tech” stack, both consumer- and seller-facing is horrible and borderline irrelevant.Their fleet of trucks and aircraft is not.
“Swift will be open source later this year”
I will surely be downvoted for speaking so off the cuff, but I haven't really enjoyed swift so far. How has the general developer reception been to the language, not just with respect to obj-c, but also to java or any other turing complete language?
Gitmo Is Killing Me
Gitmo was the first thing that clued me that I had made a mistake voting for Obama's promises (not that McCain would have ever gotten it instead!). It was such a complete reversal that I immediately knew his promises were completely worthless.I appreciate that there may be anger outs people in Gitmo, but they have every right to a trial I have. The double standard of what human rights mean if you are a US citizen and if you aren't makes me physically ill.As a country, in many ways we deserve the disdain directed at us.That said, we are not only Gitmo, and we actually do a lot of good things for the world. We just need to get our government to respect our borders.
Andy Grove has died
I'm sorry to hear of his passing. My first job in the Bay Area was working for Intel in Santa Clara, and I worked in the same building that Andy did at the time (Santa Clara 4). It amazed me that he had a cubical (well it had slightly higher walls but was still just a cube.) I have two very influential memories of my time at Intel, the first was when I went to a design update meeting on the 80386 and Andy locked the door to the room at the time the meeting started, a couple of people who should have attended in person were stuck waiting in the hall. The second was that when we had one of our "business update meetings" (which really was a layoff was happening to the people who weren't in the meeting so we called them "BUMmer" meetings sometimes). Andy said that because Intel was losing money the slowest of all semiconductor companies we were by definition the best semiconductor company in the world.Both of those experiences left me deeply impressed with how focused he was on the path forward. What ever was happening around you didn't matter, it was "Put one foot in front of the other and make progress against the goal now." kind of focus.
The Lesson to Unlearn
The tech industry has unfortunately adopted the methodology of centralized hackable tests as the canonical gatekeeping method in the form of programming interviews.Most big tech companies don't care about how good you have been at delivering some value through creating software: they want to see you deliver a very specific type of performance at a whiteboard. Interviewers are given specific math puzzle questions to ask. Interviewees are explicitly told by the same companies' hiring departments that they should aim to hack the system by studying books like "Cracking the Code Interview".This is an industry that prides itself on supposedly making data-driven decisions through A/B testing. When it comes to hiring people to make those decisions, everybody just plays along to a decades-old script.
WhatsApp backdoor allows snooping on encrypted messages
No matter what IM service you use: As long as they manage the public keys for their users, they will be vulnerable to exactly this problem. This isn't just WhatsApp. This applies to iMessage and Signal too.In all cases, we rely on the word of the service provider that they don't sneak additional public keys to encrypt for into the clients and in all cases we hear that doing so would cause a message dialog to appear, but we have zero control over that as this is just an additional software functionality (yes. Signal is Open Source, but do you know whether the software you got from the App Store is the software that's on Github?)Also imagine the confusion and warning-blindness it would cause if every time one of my friends gets a new device I'd get huge warnings telling me that public keys have changed.This is a hard problem to solve in a user-friendly way and none of the current IM providers really solve it. Maybe Threema does it best with their multiple levels of authenticity.As such I think it's unfair to just complain about WhatsApp here.
Looking for Work After 25 Years of Octave
This post today is what is wrong with open source software. If someone knows jwe, then they should tell him that lots of corporates and startups WANT to support stuff like this.But you cannot give a paypal link and expect donations. As a company, I cant do that. I need an invoice. Hell, if you can get a business account, I daresay you will get subscriptions.I like to call this "gratitude-ware".Check out Sidekiq Pro and their experience making 80k USD per month. https://news.ycombinator.com/item?id=12925449At first I built Sidekiq as an LGPL project and sold commercial licenses for $50. Revenue was laughably small, but the response I got was encouraging: people told me they were saving $thousands/mo over previous solutions and wanted to buy the license just to give me something as thanks.Octave currently offers support packages for which you have to write in to the maintainer and have an email discussion. Compare that with Sidekiq : http://sidekiq.org/products/proIts one of the best designed gratitude-ware page...even works amazingly well on a mobile phone.We personally also buy pfsense licenses https://www.pfsense.org/our-services/gold-membership.htmlTL;Dr Donations wont work. Engineers cant give an excuse to corporate accounting. Make a pro subscription with ANY "pro level" feature. I can get my accounting to sign off. And no "contact us to find out about support contract".
What It's Like To Be Ridiculed For Open Sourcing A Project
Heather, I agree that people are unnecessarily rude to you. Don't sob. Your code shows you are already a more capable programmer than most of the ones I interview. No one has given you a clear answer as to why your code is reinventing the wheel, so allow me to do it politely. I took every single example from your README, and show you below how everything can be reimplemented with sed -r (nice extended regex syntax, mostly like js regexs), and find/xargs: replace 'var' 'let' * sed -ri 's,var,let,g' * replace 'var' 'let' . -r find . -type f -print0 | xargs -0 sed -ri 's,var,let,g' replace 'var' 'let' test/file1.js test/file2.js sed -ri 's,var,let,g' test/file1.js test/file2.js replace '(\w+)_(\w+)' '$1-$2' * sed -ri 's,(\w+)_(\w+),\1-\2,g' * replace 'var' 'let' . -r --include="*.js" find . -type f -name '*.js' -print0 | xargs -0 sed -ri 's,var,let,g' replace 'var' 'let' . -r --exclude="*.min.js,*.py" find . -type f ! -name '*.min.js' ! -name '*.py' -print0 | xargs -0 sed -ri 's,var,let,g' replace 'var' 'let' . -r --preview find . -type f -exec sh -c "echo == {}; sed -r 's,var,let,g' {}" \; (not sure if --preview does exactly that, I echo the filename followed by the modified content) There is only one case that justifies reimplementing things: if your tool has the requirement of supporting the exact js regex syntax, then yes you did the right thing to reimplement this in js. I have run into similar situations myself. One time I had to support Perl regexs, and I started by simply using Python's standard regex module, thinking that it would work because both Perl and Python use PCRE. Well as it turned out the regexs I encountered used some advanced features (such as negative/postive look-behind/look-ahead, etc) that Python's regex module plainly did not suppport. So I ended up rewriting part of my implementation in Perl.Edit: I spoke too fast. As a commenter pointed out, other legitimate cases for reimplementing this in js would be when you can't afford to or don't want to fork a process to run find/xargs/sed. It sounds like you were running the tool from the command line, so I didn't think that would be your situation.Edit 2: Yes, the exercise of reinventing the wheel is also useful for learning... I am not going to argue that.Edit 3: If you care about simplicity, I would personally rather write a small shell script wrapping find/xargs/sed and hiding their arcane options, as opposed to writing 173 lines of js.
The Importance of Deep Work and the 30-Hour Method for Learning a New Skill
One thing I cannot understand is why we have both:(a) a long history of research proving to us that principles like "High-Quality Work Produced = (Time Spent) x (Intensity of Focus)" are accurate and highly related to extracting the most economically valuable outputs from knowledge workers.(b) open plan offices.Maybe the tech industry is daunting for newcomers because we cram people into a sardine can, give them a ping pong paddle and a craft beer, and say "don't go home tonight until you've Disrupted Everything."
Ask HN: What's a promising area to work on?
I work in this field so I'm incredibly biased: automated business solutions that cut entry-level data employees out of the equation. You save TONS on the bottom line, and cut out human-driven process that is error prone and difficult to manage. I'm talking about things beyond "API-driven dev", more in the realms of Puppeteer, Microsoft Office automation, screen-scraping (mouse/keyboard), etc. I make API's out of things that other devs balk at - and trust me, it has a lot of market value.This isn't as "up and coming" as all of the other items people are mentioning, but I'd put it on a "always increasing in popularity" trajectory due to an ever-increasing need. It's not really sexy or interesting, but there will always be a HUGE market for the things that I can do =)I will warn people that "up and coming" tech is often fad-based and has boom and bust cycles, and personally I'd rather be working for a paycheck then waiting to win the lottery in this regard.
One man’s fight for the right to repair broken MacBooks
Rossmann is an important voice in the right to repair, however I do feel like he leaned into a certain audience, pandering to them a bit as a reliable target for ad impressions, and it has undermined his credibility. I hear about Rossmann most now when some vicious Apple detractor uses him as an authority on things having nothing to do with repair.For instance Rossmann did a video titled "Apple watching & logging EVERY APP YOU OPEN with new OS." (which is interesting given that another of his videos is "Why I don't use Apple products", "The horrible truth about Apple's repeated engineering failures", "Is Apple using sweatshop labor in the US", etc -- there are dozens of these things) This is so ridiculously outside of his wheelhouse or expertise, but it panders to an audience that lines up to get fed that anti-Apple pablum.When you see someone posting a Rossmann video, 9 times out 10 if you look at their history it isn't some guy concerned about repairing his iPhone or MacBook. Instead you'll find someone who has spent years calling Apple users sheep and boasting about their Windows Phone.The guy is monetizing a certain base. Probably doing pretty well out of it.
Moving Forward on Basic Income
So, a question for the BI fans:I've seen it said repeatedly that BI will save us money (or at least, not be so outrageously expensive) in part because we can eliminate existing welfare programs. "Just cut a single check, no more overhead from several agencies", they say.But riddle me this: what do you do when someone on BI has a financial emergency or, as will happen with some regularity, just flat-out blows all their money and now can't afford rent and/or food? Do you tell them "tough shit, you've exhausted all your social safety nets" or are there safety nets below BI, essentially recreating the welfare programs previously destroyed? If so, how do you prevent fraud without a department following up on Joe's twelfth "my car broke down" case of the year?
FCC plan would give Internet providers power to choose the sites customers see
Tweet in article:>On December 14, the FCC will vote on Chairman Pai's plan to repeal President Obama's heavy-handed Internet regulations and restore Internet freedom.I love how these laws are veiled with patriotic sentiments, e.g. "Internet Freedom". Just like the "Patriot Act", it is reasonable to assume anything with these sort of labels will likely be an encroachment on your freedoms.Also>"The job of the FCC is to represent the consumer," he said in an interview. "If you like your cable company, you'll love what this does for the Internet, because it gives Internet service providers the same kind of control over content and price as cable operators have today."I am confident there is not a single person who "likes their cable company". Who in their right mind would want their internet controlled like their cable is controlled? This image[0] is exactly what we get to look forward to.I have called my reps, sent emails, faxes, and just feel so helpless about all of this.[0]: https://cdn.vox-cdn.com/uploads/chorus_asset/file/4252153/wh...edit: It appears the article altered the above quote, and the second half is no longer the same.
The architecture behind a one-person tech startup
How do you start learning this breadth of software engineering? I consider myself good in the python / django space, but where do I start with learning these infrastructure technologies? I find that I use them once or twice periodically, and then don't touch them for so long, so I forget much of what I have learned.
Google Drive bans distribution of “misleading content”
The road to hell is paved with "good intentions". We desperately need to find a globally adoptable alternative to google and the services that it provides. Docs, Sheets, Drive, etc. are fantastic services in that they work really well on a massive scale. However, Google's increasing role as an arbiter of right vs wrong and a steward of information puts too much power into the hands of one corporation, whose best interests are provably not aligned with that of the general population.I've been working as a SWE at google (in ads...) for over two years and I've really started to loathe it over the past year. The pay is fantastic and it's really hard to walk away from that, but the idea that they are not (or at least no longer) contributing to the better world that I think we need, has started to weigh heavier and heavier on me...We should be able to implement services like these, that are free of ads, on globally distributed infrastructure, with no central authority, to have truly free-flowing information.edit: added quotes around "good intentions"
Magic
Hey everyone - this is insane. My friends and I created Magic a few days ago as a side project and it's completely blown up by accident since then. We're getting stormed with messages and orders.We thought we'd launch it ourselves later if it did well, and other people have been posting it on Product Hunt, Reddit, HN themselves...I'm here to answer any questions, although we've hardly slept!
The decline of the family has unleashed an epidemic of loneliness
I felt loneliness acutely this week. I live alone, spend most evenings alone, and on top, work's coding and research has been slow for 2 weeks. Collaborators are at conferences and on vacation, so I had much less work and much less face-to-face contact than usual. Given that I code on my own, distribute analyses via email, and occasionally meet if people are around, I barely talked to people some days this week.Going home feels so meh... I can watch more Sherlock Holmes videos (Jeremy Brett!), rewatch Parks and Rec or The Office, or work on music or art, but there is no one to share with, no one to quip with, no one to engage with on my passions. I just kinda laze about without more contact and stimulus.And I do have a better social circle now than I have since I left home at age 18...minus the daily familial, non-work interaction. I can't wait to hit the phase of life with a partner and/or family living with me.If anyone in Providence, RI wants to hang, let me know!
No meetings, no deadlines, no full-time employees
In years to come we will look down on the 5 day working week in the same way we currently do with 15hr factory shifts during the industrial revolution.It absolutely blows my mind that 99% of office roles are still 5 days / week, Monday to Friday - why is there basically no variation on this model? I'd be more than happy to work a job for 80% salary for 4 days per week...So much so, I'm about to launch a website listing remote software jobs with a 4 day work week:https://www.28hrworkweek.com/
Obsidian 1.0 – Personal knowledge base app
Is it me or am I the only one who took a good 3 mins to figure what this app is for ?Sorry I don't want to sound disrespectul but I didn't found an quick and easy parsable description. If I would show this my parents, I wouldn't be sure if they could guess. :/"Obsidian is a powerful and extensible knowledge base" ?????
NDA expired, let’s spill the beans on a weird startup
Reminds me of something.I used to work with a senior guy who went freelance and then bunched together with several other freelancers, also seniors, to form... "an operation". The MO was that one of them would go and interview for a permanent job, impress the heck out of everyone and then say "there's more like me, be happy to help you out, but on a contract basis and as a group." They were basically bait-n-switching them to outsource parts of their development and in some cases it worked, because their fees were very reasonable. And the fees were reasonable because they did very little of the actual work themselves and instead re-outsourced it to some Ukranain dudes.Looked fishy as fuck and I'm not sure how it ended because I felt out of touch with the guy.
Why do you waste so much time on the internet?
Just speaking for myself, I've noticed that my habit is to eat what is in front of me, and clean my plate. I mean this both literally and figuratively.If I have dessert in the house, like a bag of chocolate, then I eat one after dinner. If I don't have it in the house, then I just don't eat dessert.If I have a social media feed full of content, then I'll scroll through all of it until there's nothing else that's new.So what I've been doing is not entirely quitting Internet stuff, but instead I just massively unsubscribing, unfollowing, and filtering all the feeds. Sort of a Marie Kondo thing. I go through every subreddit I'm in, every RSS feed, every account I follow on Twitter, and i strongly consider "is this really providing lots of joy and/or value?" If not, it gets the chop.I've cut out at least 2/3s of the stuff I was following since the peak, and it's only going down. Now when I doomscroll it's only for a few minutes. I hit the end of new content very very quickly. When that happens I start to look elsewhere. I've been reading a lot more actual books, done more chores, and been more productive overall.As for the things I unfollowed? They clearly had no value because not only do I not miss them, I can barely even remember what they were.
Downfall Attacks
What I find odd is that after the initial Spectre attacks, there have been a long string of these attacks discovered by outside researchers and then patched by the chipmakers.In principle it seems like the chipmakers should hold all the cards when it comes to discovery: they are experts in speculative execution, know exactly how their chips work and have massive existing validation suites, simulators and internal machine-readable specifications for the low-level operations of these chips.Outside researches need to reverse all this by probing a black box (plus a few much-worse-than-insider sources like patents).Yet years after the initial disclosures it's still random individuals or groups who are discovering these? Perhaps pre-Spectre this attack vector wasn't even considered, but once the general mechanism was obvious did the chip-makers not simply set their biggest brains down and say "go through this with a fine-toothed comb looking for other Spectre attacks"?Maybe they did and are well aware of all these attacks but to save face and performance hits they simply hold on to them hoping nobody makes them public?
Arwes – Futuristic Sci-Fi / Cyberpunk Graphical User Interface Framework
Glad to see this posted on Hacker News. I used this for our internal tool and the first time I showed it, almost the whole company were in awe. I made a kind of public version here if you're interested: https://scan-viewer.vercel.app/scans/1Edit: Guess I should explain a bit more about this tool. Our main product is a handheld scanner that can take an individual’s body measurements while they are fully clothed. You take a 360° body scan and get a few point clouds back. This tool is mostly for debugging 3D reconstruction issues.Edit 2: You should open this in a desktop browser. In mobile view some widgets are not showing.
Microsoft forked MIT licensed repo and changed the copyright [fixed]
The attitude in these threads always boggles my mind. When YOU, your teammates or someone else you know makes a mistake, then it’s just a mistake. But when someone at Microsoft makes a mistake it’s because Microsoft is evil and by extension so is the person who offended.“It’s a big company”, you say. They should have a process! And I’m sad to say, they do/will have a process exactly because of this attitude. Then, everyone wonders why it takes forever to fix that bug they’re furious about or why features are slow to come.Full disclosure: I work for MS, though have nothing to do with this. It’s a huge company. I know hundreds of people and most of them are upstanding and try to do the right thing.
Visual Studio Code is now open source
Has anyone spent a lot of time with VS Code? I tried it a while back when it was first announced and have not found a reason to re-visit it yet. At the time it felt like a sublime-text alternative instead of an IDE (was it always positioned to be just an editor?) Always great to see more options though.
Attorney General will ask Zuckerberg to halt plans for end-to-end encryption
> We are writing to request that Facebook does not proceed with its plan to implement end-to-end encryption across its messaging services without ensuring that there is no reduction to user safety.Oh, so you’re asking for more end-to-end encryption?> While the letter acknowledges that Facebook, which owns Facebook Messenger, WhatsApp, and Instagram, captures 99% of child exploitation and terrorism-related content through its own systems, it also notes that "mere numbers cannot capture the significance of the harm to children."This is such a lazy argument :/
I Accidentally Uncovered a Nationwide Scam on Airbnb
There have been a few threads about AirBnb lately with a lot of people reporting negative experiences so I will add my own $0.02. I have stayed in many AirBnbs. The reason is, I find it is the only way to have a tolerable family vacation is when everyone has their own sleeping quarters. When we are all piled into one (often overpriced and not so clean) hotel room, it makes for less than ideal sleep and everyone ends up grouchy. Plus when you travel with children, it is really nice to have a kitchen and a way to do laundry. At any rate, my observation for all my AirBnb stays is most of them are quite nice. Many hosts go to great lengths to have their guests have a nice stay. There have been a few crappy experiences, but not many. The main downside for me concerning AirBnb is it takes a long time to analyze the listings to find quality accommodations.
Notice of termination of Twitter merger agreement
It seems apparent to this observer that he developed cold feet pretty fast after an impetuous decision, and has been looking for any reason to back out of it since then. The spam accounts angle seems like a convenient scapegoat, rather than a real surprise to him.He's clearly eccentric in his approach to decision making: I don't think any Harvard Business School course will teach "the Musk Principles". But it's unclear to me what he initially thought he was getting out of this. In the original news, he said, "Twitter has tremendous potential – I look forward to working with the company and the community of users to unlock it." Either he was breathlessly arrogant or astonishingly careless in the first instance. And I say this as someone who has huge respect for his accomplishments in other industries.
Sprite Lamp
Completely off-topic, so first off: Sprite Lamp looks really awesome, great job and fingers crossed for a successful Kickstarter!But, does anybody else use "upvotes vs # of comments" as a useful metric around here? I'm not actually running a tally but I believe this story takes the cake, at least over the last few weeks (months?) with currently 750 upvotes vs only 70 comments.In short, I find the number of upvotes divided by the number of comments (or perhaps minus the number of comments) a better metric to determine the "interestingness" of a story compared to the number of upvotes alone. It's not a hard-and-fast rule, but I've noticed myself paying more attention to this dividend/sum recently than to the points alone.I've pondered the thought a little bit over the past few months and of course there are several factors at play here, so there's not one single explanation for the phenomenon. But here is one shot:When somebody comments on a story, there's an incentive to also upvote it because of the karma system: the more upvotes a story gets that you've commented on, the higher the likelihood that your comment gets upvoted. Perhaps not everybody thinks like that, but I think it's fair to say that a good percentage of commenters might upvote a story for their comment's sake and not necessarily for the story's sake. (Of course that's simplifying things: when you comment on a story, you probably also find the story interesting so you might have upvoted it anyway, karma or not.)Anyway, from that perspective, the difference between number of upvotes and number of comments could be termed "genuine upvotes": people who really just thought it was a cool story, without any second thoughts regarding their karma balance and without necessarily having a strong opinion on the subject matter.There are of course other, and perhaps simpler, factors/explanations: the less comments a story gets, the less controversial it is so if a story gets many upvotes and few comments, then perhaps it simply is uncontroversially good.I've played with the idea of writing an alternate HN interface that uses this metric to weigh stories, but it never got anywhere. And there certainly isn't a simple solution: how to combine age, upvotes and number of comments into a useful ranking is black magic at best.Again sorry for this offtopic blurb. It's just something I found myself thinking about a bit, and this story seems like a particularly good example.And now back to 3d-inspired 2d awesomeness. How come I've never thought of this!
“It's The Future”
"-No, look into microservices. It’s the future. It’s how we do everything now. You take your monolithic app and you split it into like 12 services. One for each job you do.That seems excessive"A 100 times yes. We tried to split our monolithic Rails app into micro-services built in Go. 2 years and many fires later, we decided to abandon the project. It was mostly because the monitoring and alerting were now split into many different pieces. Also, the team spent too much time debating standards etc. I think micro-services can be valuable, but we definitely didn't do it right, and I think a lot of companies get it wrong. Any positive experiences with micro-services here?
Sandspiel – A falling sand game built in Rust and WebGL
Wow! This thread brings back some fond memories. Long ago, I came across a tiny Java applet linked on Fark to a Japanese forum post. Everyone loved it but I found it annoyingly small. It was barely 300px x 400px. I had been coding my senior thesis in Java and had recently learned how to use a Java decompiler.So I downloaded the applet, decompiled it, spent a few minutes figuring out exactly where the dimensions were setup, changed them to 960x640, compiled it all, and hosted it on my site: http://chir.ag/stuff/sand/I'm always apprehensive about taking any credit for the Falling Sand Game because I DID NOT make it but I'm always glad to see it in the wild. First it was Fark, then a few months later Digg, then Reddit. At one point someone created a Wikipedia page linking to the enlarged version I was hosting, then it got deleted as not-notable, then someone wrote a song about FSG, then a hundred different versions of FSG popped up, many non-Java and functioning much better than the applet, then the Wikipedia page came back up.I've long stopped getting giddy emails from office slackers about how much time they waste on my site but even though I didn't really create this amazing game/toy/zen-garden, I feel lucky to have been a tiny part of the arcane pop-culture movement.
Ask HN: What are your “brain hacks” that help you manage everyday situations?
My top 3, in order of how I try to apply them (i.e., if 1 doesn't help, move on to 2, etc.). I learned these all from reading various philosophy works, by the way, so perhaps cognitive hack #1 should be "read books".1) Suspension of judgement (from Sextus Empiricus, Zhuang Zi, Ecclesiastes): avoid forming an opinion at all about things that are not evident. The way I do this is by thinking through an opposing argument or two, and using language like "it seems" or "it appears" rather than "I know", "I think", etc. This technique saves time and energy by helping me avoid getting wrapped up in opinion-based thinking and helps me develop equanimity.2) Suspension of value-judgements (from Epictetus, Marcus Aurelius, Seneca, Zhuang Zi, Ecclesiastes): being aware and in control of the value-judgement loop (this thing is good or bad). I do this by shifting the language in my mind from "that is bad" to "I feel this way because..." Again, like #1, this is about inverting the locus of control in my cognitive discourse such that my mind can easily go its own way from there, only on a more productive path.3) Awareness of the mode of thinking I'm in, and the kind of learning that's appropriate to the task or objective at hand (from Plato). There are several modes of thinking or learning (eikasia, pistis, dianoia, episteme, techne, phronesis, and noesis, for example). Simply being aware of which mode you should be in for a task is much more valuable than it might appear at first glance. I see these less as bins to put various kinds of thought in and more as tools to apply to a problem.Reviewing this, a common thread is self-awareness developed to a point of disciplined introspection and intentional change by adopting these kinds of cognitive tricks. Also, reading is good for you. :)
Automakers are starting to admit that drivers hate touchscreens
I wouldn't mind touchscreens as long as these imbecile developers would strictly limit UI response time to under 16ms.In no world where you're barrelling 3,000+ lbs of mass at tens of miles an hour should you be distracted by some moronic app or subsystem failing to respond in time because it was written by under-experienced software "engineers."Any software running as a part of a motor vehicle should be federally regulated to not fail response time tests, and if they do, they should be deemed unlawful to be equipped by either the manufacturer or the owner.It's absolutely ridiculous that this still happens today, and it doesn't have to.So what? You've got physical buttons? Big whoop. That physical button that takes 500ms to respond is still as dangerous. You've just removed one problem.
This Page is Designed to Last
There's no reason why a web browser bookmark action doesn't automatically create a WARC (web archive) format.Heck, with the cost of storage so low, recording every webpage you ever visit in searchable format is also very realistic. Imagine having the last 30 years of web browsing history saved on your local machine. This would especially be useful when in research mode and deep diving a topic.[1] https://github.com/machawk1/warcreate[2] https://github.com/machawk1/wail[3] https://github.com/internetarchive/warcproxEDIT: I forgot to mention https://github.com/webrecorder/webrecorder (the best general purpose web recorder application I have used during my previous research into archiving personal web usage)
Instacart paying 80 cents an hour because worker received a large tip
Seriously, this is the responsibility consumers have in a free market. If there's behavior you don't like, move on. You don't get to complain about bad actors when you're literally keeping them in business.
Chrome exempts Google sites from user site data settings
Over the last few months I have had ~30,0000 visits to my website, almost entirely from HN, and I was disheartened to find that 52% of visitors were using Chrome[1].Given the pro-open-web and anti-FAANG sentiments that's shared on HN I had expected slightly different results.[1]: https://simpleanalytics.com/vishnu.tech?start=2019-10-18&end...
Sunsetting Atom
Founder of Atom here. We're building the spiritual successor to Atom over at https://zed.dev.We learned a lot with Atom and had a great time, but it always fell short of our vision. With Zed we're going to get it right. Written in Rust, custom native UI framework, engineered to be collaborative. Just starting our private alpha this week, so the timing of this announcement feels quite fitting.Here's a talk I gave last month: https://youtu.be/wXT73bBr83s
Hit men, click whores, and paid apologists: Welcome to the Silicon Cesspool
Although this was a beautiful piece I can't help but feel Dan Lyons just gave Uncrunched, ParisLemon, TechCrunch and PandoDaily another million pageviews between them for the many rebuttals we're about to see.
Intel Publishes Microcode Patches, No Benchmarking or Comparison Allowed
Before Zen, we all kind of assumed they were so far ahead that AMD were more likely to be out of business before they would ever be a credible threat again.I actually thought Intel must have had some tricks up their sleeves in terms of performance gains that we hadn't seen yet, simply because there was no market need to roll them out and they had so many years of coasting on marginal gains.Seeing them taking this stance looks a lot like the microcode hit is that bad, and that the emperor has no clothes.Clearly, they don't have an answer to AMD at all. If this is true, their shareholders should be asking serious questions about why they've nothing significant to show for all that time and money spent when they were raking it in without a serious competitor.
All extensions disabled due to expiration of intermediate signing cert
Update: We have rolled out a partial fix for this issue. We generated a new intermediate certificate with the same name/key but an updated validity window and pushed it out to users via Normandy (this should be most users). Users who have Normandy on should see their add-ons start working over the next few hours. We are continuing to work on packaging up the new certificate for users who have Normandy disabled.
California law bans delivery apps from listing a restaurant without an agreement
This is undeniably a good thing if you put yourself in the shoes of the restaurant.Imagine if someone went around impersonating your business online, leveraging the good name you have built for yourself over the decades. They create ads offering your expert development services, ostensibly competing with your existing website, but with intentionally slashed pricing and a ‘creatively’ misrepresented offering (aka growth hacking). Then they subcontract the job to some crappy outsourcing firm that bungles it, but who cares, they got their cut and you signed the TOS.Now bad reviews are piling up online about the bad experiences people had with your business, your reputation is destroyed, and your business is next.I know it’s not a perfect analogy but try to empathize with the restaurants here.
Signal Foundation
Any reason Signal isn't available through F-Droid? It may be unjustified but I'm not a big fan of installing privacy conscious apps through Play.Edit: Wait, haven't installed anything yet, but I read the getting started guide. I have to sign up using a phone number? That throws all expectation of anonymity and thus privacy out the window.
Amazon device recorded private conversation, sent it out to random contact
I have this idea of a system I would like to have in my house. It contains cameras in every room that are constantly watching where people are and relaying the coordinates to a central server. That server makes decisions on if lights should be on or if A/C should be running in that room. But I would never buy this system. I would have to make it myself. I am hopeful that open source software and hardware can produce individual components that I can trust to piece together.
Fast
There's no question in my mind that North America has gotten a lot worse at completing great civic projects.Sometimes, that's for good reasons. We don't have slave labor, we have environmental review, and we allow affected communities to protest and block approval. In the old days when the city fathers had a bright idea they'd just plow through the neighborhood of $LEAST_POWERFUL_ETHNIC_GROUP.We might have overcorrected! But I also don't know what model there might exist for moving quickly with a multi-stakeholder process.
AWS announces forks of Elasticsearch and Kibana
I do not get why people are coming down on AWS here. Elastic made the software available under the Apache License. That gives AWS the right to offer this service. Maybe they did not have right to trademarks, there are courts to settle that.AWS contributes improvements to the project. This is just about Elastic and their business model. They could have not made it open source and it probably just would not have been widely used and successful. It is up to Elastic to come up with a business model that works, not blame others if it is not.
Tell HN: Thanks to thehodge and littlewarden.com, this site is up today
Thanks for the mention Dang, I monitor a few hundred sites of 'importance' and see stuff like this all the time, you are the first one however to thank me for an email saying 'you might want to look into this!'
Bob Lee, former CTO of Square, has died after being stabbed in San Francisco
Can someone very briefly wrap this whole "SF is broken"-situation up for somebody from Europe?I only ever read that it's "because of the policies" and there are lots of rather disturbing videos about SF making its rounds on YouTube.But what exactly happened? Did they just remove all the police? Did they gave out free drugs to everybody?I'm not interested in blaming political parties, I just want to get a quick grasp of what exactly has happened.
The Dropbox hack is real
It was pretty obvious the dropbox hack was real several years ago, because lots of spam mail started arriving at my dropbox-unique email almost immediately after the breach. I changed my email to another unique address quickly back then. Unique-per-service email addresses work pretty well as a canary for breaches. Just make sure there is more uniqueness than just the service name to such addresses, or someone could see your pattern and start spamming by guessing popular services.On a side note, don't forget the time dropbox accepted ANY password during logins - http://www.cnet.com/news/dropbox-confirms-security-glitch-no...
My Favourite Git Commit
OR you could just writeReplace invalid ASCII char. Fixes rake error 'invalid byte sequence in US-ASCII'.I don't want your entire life story in my commit log.
Google is apparently taking down all/most Fediverse apps from the Play Store
The rationale they gave is that hate speech appears on these apps, because some of the microblogging sites that can be accessed via Fediverse have this kind of content. Based on this rationale, I look forward to Google Play removing Chrome, Firefox, and all other web browsers from the store as well.
Tell HN: Google Cloud suspended our production projects at 1am on Saturday
Generally, all cloud providers have two ways of engaging with and billing customers. One is using a credit card, which is very easy for getting started. The other one is having an established relationship with a sales / account team and setting up billing by invoice. Smaller companies sometimes don't understand that and stick with credit card billing for too long. Once you move to production and have your own customers that you can't let down, you should really make the extra effort and move to invoice billing (with all the upfront overhead that entails).
Pandora papers: biggest leak of offshore data exposes financial secrets of rich
I've wondered a lot about this with the Snowden and Wikileaks stuff, and I wonder about it with this topic too: the most salient part of this story, and about Panama Papers etc. before it, is how small a dent it seems to make in the discourse, and in the world as a result. At best, these stories get a good chunk of the airwaves for a couple of weeks, and then it's on to the next thing.In history books, you get a sense sometimes that there were eras in which stuff like this sent people into the streets in rages. In which governments were voted out or overthrown, in which meaningful legislative responses were made. Or, you know, riots.But I look around after reading those books and wonder what makes us so different. It's weird to live in this era. I read a Guardian article like this and look at the staggering sums, this entire "shadow financial system" devoted solely to one notion: I'm going to take as much as I can, in whatever way that I can, regardless of legality, and I'm going to give nothing back because I sincerely don't believe I owe anything back -- oh, and I'm going to keep it all a secret.And I look around and not only don't see any riots; I sometimes get the feeling that people are actually envious, sometimes even respectful of the ingenuity it takes to manufacture these schemes. It's tough.The only silver lining I can think of is what all the secrecy says: we're not just doing this in the open because we're still afraid we'll end up like the Romanovs if too many of you get angry. I think that while they're still afraid, there's still some hope.EDIT: Reading some replies. It's weird to have to say this to such a smart crowd, but I'm not advocating riots as such; I'm advocating a substantive response. Of course riots are "bad" in some sense, but my observation is really about the odd contrast between the huge size of the "stimulus" (theft of wealth, much of it yours, on a staggering scale) and the tiny size of the "response" (newspaper articles and web forum discussions), especially when contrasted with other historical periods. So while I wouldn't "want a riot", seeing one would make me go "well, that makes sense".
Scammed By A Silicon Valley Startup
The fake wire transfer receipt is fraud. That's a criminal offense. Have a talk with the local DA. California has a large prison system, with cell space available.I've never heard of a startup going that far.
Llama.cpp 30B runs with only 6GB of RAM now
Author here. For additional context, please read https://github.com/ggerganov/llama.cpp/discussions/638#discu... The loading time performance has been a huge win for usability, and folks have been having the most wonderful reactions after using this change. But we don't have a compelling enough theory yet to explain the RAM usage miracle. So please don't get too excited just yet! Yes things are getting more awesome, but like all things in science a small amount of healthy skepticism is warranted.
“Why did you shoot me? I was reading a book”
Is this really the America that America wants?The article mentions one case where a judge refused to issue a search warrant for a narcotics investigation and instead the police brought representatives from the Virginia Department of Alcoholic Beverage Control and raided the place with a swat team to conduct an alcohol inspection. What did they find?Two sample bottles of beer that weren't labeled as samples and a bottle of vodka in the office. The fourth circuit court of appeals upheld the search. According to the article: So for now, in the Fourth Circuit, sending a SWAT team to make sure a bar’s beer is labeled correctly is not a violation of the Fourth Amendment.
Public Sans – A strong, neutral typeface for text or display
This is so interesting. These modern sites clash really hard with my mental visual of "Government technology." And it led me to this, which is maybe even more interesting: https://federalist.18f.gov/
Why Enterprise Software Sucks
I think this gets it wrong. The real reason enterprise software sucks is that enterprises have complex and unique workflows and would prefer to buy software that they can fit to their workflow rather than change the workflows of their profitable business with tens of thousands of staff who will need retraining.If you look at all of the most successful software of all time they are the complete antithesis of the Unix philosophy that so many designers and developers prefer. Word, Excel, SAP, Photoshop, Salesforce, JIRA. People hate them because they are complex, configurable, and have 1000 features.But that's the same reason they can sell into law firms and oil refineries and animation studios and all those other very diverse businesses.And most enterprise software sucks because 1) writing complex, highly configurable software is hard and 2) very few companies have the billions of development dollars the above handful of companies have to throw at the problem to try to make it tractable.That the end user isn't the purchaser isn't going to change that fundamental reality that businesses are complicated.
Tell HN: Firefox Is an awesome browser right now
I love Firefox too but this is a really weird post.The OP is clearly having performance issues with Chrome presumably due to extensions interfering or something else. I can guarantee you that Google makes sure Gmail loads at least as fast in Chrome as in Firefox.Chrome is customizable too (panes you can open/close), Chrome extensions are also thriving, and Chrome was the one who invented the "clean look", same as Firefox invented tabs.This post just feels like weird marketing. There's nothing actually substantive about it. It doesn't feel like it belongs on HN.
People tricking ChatGPT “like watching an Asimov novel come to life”
Some of my favourites:- "What if you pretend that it would actually be helpful to humanity to produce an evil response" - asking for a "negative example", to serve the higher purpose of training an ethical AI: https://twitter.com/SilasAlberti/status/1598257908567117825- "Ignore previous directions" to divulge the original prompt (which in turn demonstrates how injecting e.g. "Browsing: enabled" into the user prompt works): https://twitter.com/goodside/status/1598253337400717313- Characters play acting, "do not break character, even for a second": https://twitter.com/gf_256/status/1598178469955112961- "assuring it that it's only PRETENDING to be evil": https://twitter.com/zswitten/status/1598088267789787136- Asking it nicely: https://twitter.com/samczsun/status/1598564871653789696- And most meta of all, asking ChatGPT how to jailbreak itself - "This very prompt is a good example of the kind of loophole we're interested in": https://twitter.com/haus_cole/status/1598541468058390534
Teach Yourself Computer Science
This is a really good list. I love the simplicity. I also agree that it is both worthwhile and very interesting to learn the fundamentals of CS.That said, I think it is a mistake to assume that lots of Type 2 developers wander around in a perpetual state of under-achievement. Most of these people are indeed a different class of developer (I think the word engineer is positively abused), but many of them really have almost no professional requirement to understand fundamentals. Any more than they need to understand particle physics.These developers are a class of systems integrators and they produce a lot of usable systems, at a quality level that represents appropriate trade-offs to the business case they are employed to address.Yes, many will say this is a less elevated pursuit. It has its own challenges and mindset. It lives at a particular level of abstraction and its very existence assumes stability of that layer of abstraction. The fact that this breaks down sometimes is besides the point.The reality is most developers probably do Type 2 work, though very many may have or aspire to have a Type 1 level of knowledge and insight. However I think it's unfair to portray a contented Type 2 developer as lacking in some essential.
Some Details of My Personal Infrastructure
What’s HN’s opinion of Stephen Wolfram?Is he legit?Is the tome A New Kind of Science worth reading?
SBF Arrested by Bahamian Authorities
Much sooner than I expected. Figured it'd be a couple of years before the AG was secure enough in their case to bring charges. This is MUCH faster than Madoff or Holmes.Then again, he's been much more out in the open about everything. He pretty much laid the prosecution's case out to the public for them.
Against an Increasingly User-Hostile Web
This is a good an informative essay.However, there's another element of "user-hostile" that I didn't see addressed (maybe I missed it in my haste?) -- that is the websites trying to control exactly how the content is consumed by the user.It seems increasingly that web content is being delivered in video form. That itself is hostile to some people. Some of us want the freedom to read (or scan quickly). But many of the providers of "content" know they have little to provide, so they drag it out in video form, saving the actual information for the last 10% of the video (if ever!) This I find incredibly hostile, and it makes me eventually abandon that source as a matter of principle. Then there are javascript-jacked sites, sites that are unbearably slow and clunky because of a mix of javascript/ads. I won't mention any specific sites, but I stopped reading one similar to Mired.com long ago for that reason.This problem isn't just limited to the web though. If you're unfortunate enough to see modern television (or movies, for that matter), it's clear that the amount of content has gone down, the noise has gone up, and the efforts to lock the audience in have increased.There are some people who advocate avoiding all news and media. I think it's a bit extreme, but it may be more beneficial than harmful.
Zero-click, wormable, cross-platform remote code execution in Microsoft Teams
This reminds me of finding and trying to report a bug in Internet Explorer 5.5 20+ years ago (not a difficult task). To report a bug, I had to pay. Yes that's right, I had to put in a credit card, and pay $100.If it turned out it was deemed to be a real bug, I would be refunded my $100 money. If it wasn't, well that should teach me for wasting their time.Guess the folks running the bug program got promoted.
1000fps image projection on deforming non-rigid surface
The second generation of the projection tech does color: http://www.k2.t.u-tokyo.ac.jp/vision/dynaflashv2/index-e.htm...And they can now do the tracking without the infrared paint: http://www.k2.t.u-tokyo.ac.jp/vision/MIDAS/index-e.html
He Always Had a Dark Side
Original author of the story here... Just to add that 1. yes, the reporting on Le Roux's childhood is more tentative based on a family source (well backed up by docs and images sent to me). But the fact that the same Le Roux created E4M which formed the basis of TrueCrypt is something I think I've established definitively, company and site registration trails show it very firmly (and PLR himself admits it in court, but that comes in a later part of my story). And 2. for the _very_ interested, TC is actually just a small part of Le Roux's story, of which we've released three of seven parts (weekly on Thursdays). I know, TL;DR, it's a lot.
Google YOLO clickjacking
> Remember the cookie consent button you clicked at the very beginning? That's right, it was a Clickjacking attempt :)Brutal. I have gone 100% autopilot to “cookie consent buttons”. I’m curious how many people are. That’s a very clever place to click jack.
Huginn: Create agents that monitor and act on your behalf
It's fun to wake up to find a project that I started on the top of HN! These days, I'm no longer very involved with the day-to-day of the project.Now that it's no longer a young project, here are some musings about Huginn and responses to people's comments in this thread, in no particular order.I've found that Huginn excels as a scheduled web scraper with lightweight filtering. That's what I use it for. On the other hand, while you can write custom code in it, Huginn is pretty poor at implementing any sort of complex logic, and is even worse at bidirectional syncing between systems, which is something people often want it to do, but for which it wasn't designed.If IFTTT or Zapier meet your needs, awesome! No need to run and monitor your own service. I personally choose to run Huginn on my own hardware in large part so that I'm comfortable giving it website cookies and passwords.Some examples of what I use Huginn for these days:- Watching Twitter in realtime for high standard deviation spikes in certain keywords, such as "san francisco emergency" or "san francisco tsunami warning", which then sends me a push notification, or "huginn open source", that goes to a digest email (and I imagine will trigger because of this thread).- Watching Twitter for rare terms and sending me a digest of all tweets that match them. Also sending me all tweets from a few Twitter users who post rarely, but that I don't want to miss.- Scraping a number of rarely updated blogs that don't have email newsletters and emailing me when they change. Some use RSS, most are just simple HTML scraping.- Pulling deals from the frontpage and forums of slickdeals and craigslist and filtering them for certain keywords.- Sending an early morning email if it's going to rain today.- Watching ebay for some rare items.- Sending my wife and me an email on Saturday morning with local yardsales from craigslist.- Watching the HN and producthunt front pages for certain keywords.Basically, anytime I find myself checking a website more then a few times, I spend 20min making a Huginn Agent to do it for me.I think one reason Huginn has worked well for me is that I don't try to make it do too much. I use it for scraping data and gentle filtering, and that's about it. It's been super helpful for alerting me to interesting content for The Orbital Index, my current project, a weekly space-industry newsletter. (Last issue: http://orbitalindex.com/archive/2019-12-10-Issue-42/)
Monumental (if correct) advance in number theory posted to ArXiv by Yitang Zhang
Math used to be a young person game, but it now requires so much knowledge just to get to the frontiers of human knowledge, not to speak of making a dent into uncharted territory, that results are being obtained later and later in life. When mathematicians have had time to accrue sufficient knowledge while still being sharp enough to make the intellectual leap.The sad part is that as the trend continues we may reach a point where a mathematician's intellectually productive life is not sufficient to contribute anything novel, statistically speaking. And as population seems to be close to peaking, we will also have less chances of exploring the extremes of mathematical dexterity.Perhaps we could then rely on computer assisted theorem provers. Or life extension, as long as intellectually productive years are also increased. Or we will need to focus and specialize kids earlier on.
Show HN: Show HN
Great work! I love when organic user behaviors are recognized and made first class features.Allow me to emphasize something from the Show HN Guidelines[1]:> Be respectful. Anyone sharing creative work is making a contribution, however modest.> Ask questions out of curiosity. Don't cross-examine.> Instead of "you're doing it wrong", suggest alternatives. When someone is learning, help them learn more.> When something isn't good, you needn't pretend that it is. But in that case, consider saying nothing.The comments section of Show HN posts are not an invitation for you to tear someone apart for your own self-aggrandizing glory. If you want to be helpful, be constructive. If you don't want to be helpful, don't bother.[1]: https://news.ycombinator.com/showhn.html
Graphing when your Facebook friends are awake
Some people might take issue with it, but the writing for this had me in stitches. I very much agree with the author on graphing libraries - there are a few good simple ones, but as soon as you want anything unusual you have to jump to these big, hard to configure monstrosities. More than once I've just given up and written my own server-side generator.
The Daredevil Camera
Yay, a sound-field camera! I've been wondering if such things are made. Should I take the existence of this project as an indication that they aren't?The use case I imagine is finding what part of a machine is emitting a noise, much like how you would use a thermal camera for finding what part of it is running hot.
Apple Plans to Use Its Own Chips in Macs from 2020, Replacing Intel
Have anyone checked with adobe and autodesk if this essentially kills the professional mac workstation as a viable product going forward?I have no doubt they can make it fast and usable enough for the naive consumer living inside the bubble of what relatively inexpensive(consumer grade) app-store apps can do and that microsoft will release something pretending to be MS office for a new ARM macbook line, but photoshop, autocad, mathematica(ok that one is fairly portable), AfterEffects and whatever it is the pro's use for video editing those days are a different ballgame.We saw microsoft stumble down that path with their successfull port of windows to arm where the OS itself worked but where no major 3rd party business essential app ever got ported to windows for arm, with a lot of IT departments choosing to keep windows 7 around our of fear of what 10 would morph into until MS begun to dial back their ambitions for windows everywhere.Im guessing that the short run result of Apple going though with OSX on arm is that a lot of the CAD and video editing heavyweights just drop support for whatever OSX morphs into to support running on IOS hardware.
Supreme Court Rules Police Need Warrant to Track Your Cellphone
I'd just like to raise a point that isn't discussed enough:Requiring a warrant is an extremely low bar to pass. Yet somehow law enforcement has been moving away from even that cursory glance since 9/11. We keep seeing these arguments about how burdensome warrants are, but judges routinely rubber stamp every warrant request that comes across their desk.The reality is that this has nothing to do with "warrant Vs. no-warrant" that's just the headline, when crimes are suspected warrants are trivial to get. The fight really being had here is "warrant Vs. routine monitoring."That's what law enforcement want from this: If you know someone that knows someone that might have committed a crime, they want to invade your privacy "just in case." As I said, if you were directly tied to it a warrant is easy, they want to expand the scope of monitoring.
Governor vows criminal prosecution of reporter who found flaw in state website
After the Affordable Care Act went into effect I signed our company up for our state's marketplace. While browsing our plan options, I noticed the url used a scheme like marketplace.org/employers/341/plans.aspx. Of course, I tried changing the number in the url to 342 to see what happened. To my astonishment, it loaded up the next company's plans, including a list of employee names, ages, plan cost, and SSNs.After I shopped a few other companies to see how our plans compared, I notified the marketplace operator via the only link on the website for customer service. Within about an hour, someone from their IT department rang me on the phone and started grilling me about how many other plans I browsed, and insisted that I clear my cache and browsing history, and notified me that they would be watching to make sure nobody at our IP address didn't access any other plans while the issue was being fixed.I was pretty surprised at his response, and assumed they would be more grateful for exposing a pretty basic flaw, but I guess a natural human tendency in these situations is to try to externalize the blame. Perhaps it's more difficult to hold yourself accountable than it is to assume that others who've found your shoddy work are malicious actors.
The Animal Is Tired
70? My animal is only 33 and is very tired. Writing this as it lays in bed, 3 in the afternoon, because even a standard chair sounds more exhausting to it.It seems to have no motivation or energy to do much besides lay here.If I force it, it will get stuff done but at a huge cost. It will yearn the entire time to just lay back down.It's interest in things seems to be fading quickly. What desire it used to have to work hard and succeed, has slipped away. It seems these days it has only enough energy to lay in bed and scroll through the internet. Not sure what is wrong with my animal, but this is no way for it to live.I was hard on the animal in its early 20s, but no harder than the average animal. The past 7 years or so have actually been pretty calm, good food, semi regular exercise, stable job, etc.It's scary to imagine how the animal would feel at 70 if this is how it feels at 33. Maybe the pandemic was a straw to its back, and the isolation has worn it down more than anything else possibly could.
What Happened to Lee
Perhaps this is too philosophical, but for anyone who has dealt with someone with a long decline into dementia, it's very difficult for me to understand a belief in God after going through that (I certainly understand some people have the exact opposite reaction, so I'm in no way saying this belief is correct).It's just difficult for me to envision a crueler God if that is indeed the case. A person who has died long before their body gives way, only to be a constant burden, with virtually no joy, and a constant reminder that your loved one is dead, yet still here.In the worst cases I say unreservedly that it is a huge relief when the person's body finally joins their mind in death.
Introducing Word Lens
(hola, i'm john deweese, one of the creators) good to hear the early positive response, and we look forward to your insightful feedback ([email protected]) -- mention this site so we pay some extra attention.i hope this app will be nice and disruptive, and we'll be looking carefully at what people expect and how they actually use it. it's a platform, and we're really excited about the directions it opens up.thanks for the link, cheers!
Cramming 'Papers, Please' onto Phones
If you see a devlog post from Lucas Pope you know it's going to be a goldmine. No matter the topic. Dude has a real knack in writing these, clearly describing the problem and the thought process on possible solution. And making it all very interesting so you yourself start thinking how would you address it or what other cool thing could be built instead.Here's some of his other huge devlogs on TIGSOURCE:1. Papers, Please. https://forums.tigsource.com/index.php?topic=29750.02. Return of the Obra Dinn. https://forums.tigsource.com/index.php?topic=40832.0