prompt
stringlengths
0
90
completion
stringlengths
1
26.3k
Trying to sneak in a sketchy .so over the weekend
Bringing up problems only shortly before launch sounds damn familiar
S&P 500 Plunges 7%, Triggering Market-Wide Stock Trading Halt
Previous thread on HN (just hours ago) with more information and many good commentshttps://news.ycombinator.com/item?id=22525238
Writing an OS in Rust: Async/Await
This is also just a fantastic introduction to async/await in Rust, regardless of the OS bits. Another amazing article by Phil.> The only requirement is that we use at least nightly 2020-03-25 of Rust because async/await was not no_std compatible before.There's some fun stuff here that's omitted (which makes sense, of course). It was always a design constraint of async/await in Rust that you could use it without the standard library. However, the initial implementation required thread local storage. The future trait's poll method took a &mut Context, and generators didn't support passing context in to them when resuming. This meant that the context would be placed in TLS, and would pull it back out when needed. Generators are unstable, partially for this reason. However, this was fixed, and that means TLS is no longer a requirement here! See https://github.com/rust-lang/rust/pull/68524 for more details.
Launch HN: Art in Res (YC W20) – Buy art directly from artists
Heads up, with adblockers turned on in iOS Safari, every product image on your site is missing.
IPFS 0.5
I was impressed to read that the IPFS public network scaled 30X in 2019. It sounds like they have gotten over a big hump for usability and utility.
I bought netflix.soy
My mom is unable to pronounce "Netflix" correctly (Spanish is her mother language), she always said something like "nesflis". So yeah, years ago I bought nesflis.com for her.
Ask HN: Has anybody shipped a web app at scale with 1 DB per account?
Nutshell does this! We have 5,000+ MySQL databases for customers and trials. Each is fully isolated into their own database, as well as their own Solr "core."We've done this from day one, so I can't really speak to the downsides of not doing it. The piece of mind that comes from some very hard walls preventing customer data from leaking is worth a few headaches.A few takeaways:- Older MySQL versions struggled to quickly create 100+ tables when a new trial was provisioned (on the order of a minute to create the DB + tables). We wanted this to happen in seconds, so we took to preprovisioning empty databases. This hasn't been necessary in newer versions of MySQL.- Thousands of DBs x 100s of tables x `innodb_file_per_table` does cause a bit of FS overhead and takes some tuning, especially around `table_open_cache`. It's not insurmountable, but does require attention.- We use discrete MySQL credentials per-customer to reduce the blast radius of a potential SQL injection. Others in this thread mentioned problems with connection pooling. We've never experienced trouble here. We do 10-20k requests / minute.- This setup doesn't seem to play well with AWS RDS. We did some real-world testing on Aurora, and saw lousy performance when we got into the hundreds / thousands of DBs. We'd observe slow memory leaks and eventual restarts. We run our own MySQL servers on EC2.- We don't split ALBs / ASGs / application servers per customer. It's only the MySQL / Solr layer which is multi-tenant. Memcache and worker queues are shared.- We do a DB migration every few weeks. Like a single-tenant app would, we execute the migration under application code that can handle either version of the schema. Each database has a table like ActiveRecord's migrations, to track all deltas. We have tooling to roll out a delta across all customer instances, monitor results.- A fun bug to periodically track down is when one customer has an odd collection of data which changes cardinality in such a way that different indexes are used in a difficult query. In this case, we're comparing `EXPLAIN` output from a known-good database against a poorly-performing database.- This is managed by a pretty lightweight homegrown coordination application ("Drops"), which tracks customers / usernames, and maps them to resources like database & Solr.- All of this makes it really easy to backup, archive, or snapshot a single customer's data for local development.
Mental Wealth
Really nice article
WireGuard Merged into OpenBSD
Congratulations to the team on this successful integration into OpenBSD.I'm really pleased to see ongoing Wireguard integration in all the big platforms.The setup is so simple, I route all my personal traffic through a simple cloud based WG + Pihole setup.
Crush: A command line shell that is also a powerful modern programming language
I have recently been partial to python and the sh library. This and the other associate projects look interesting but are they secure and will they catch on?
I still use WordPerfect 6.2 for DOS
I still run Quicken 6 for Windows from around 1995. Runs fine using Windows 10 in VirtualBox on my Mac. Tried newer versions of Quicken and really don't like them. Can't find anything open source that is as simple and easy to use.
Samsung Ads – Demand-Side Platform
I’m not familiar with “TVs”. Are these just large monitors? Do they start adding all this crap once you go over a certain monitor size?
Oregon becomes first state to legalize psychedelic mushrooms
I have been listening to the Michael Pollan audiobook "How to Change Your Mind" https://smile.amazon.com/How-to-Change-Your-Mind-audiobook/d... Fascinating subject and I am going through some personal issues which has put me in a funk, not that I wasn't depressed before the latest crop of issues. I am glad states have started the process of decriminalizing substances that hold therapeutic promise for mental issues. Nothing has worked on me so far so I hold out hope for psilocybin as the one that finally snaps me out of it.
Rust 1.48
Just in time for the Advent-of-Code 2020 challenge...
Windows 0day privilege escalation still not fixed
Doesn't surprise me. I've been sitting on a WSL1 root escalation script that I found by accident. I messaged one of the WSL leads and he didn't seem to care about it.It's been months. Microsoft and security don't exactly go together in my head.
JaaS: The team that builds Jitsi can now also run it for you
Taskade's video chat runs on Jitsi, on the same page with our collaborative task list. We're happy with the performance and integration so far.You can test out our implementation no signup needed: https://www.taskade.com/new
Soldat: a 2D (side-view) multiplayer action game
I saw mention of Pascal, so I had to take a quick peek:https://github.com/Soldat/soldat/blob/develop/server/ServerC...The last time I used Pascal was in the late 1980s on a VAX/VMS system. Very fond memories!
TurboTax Tricked You into Paying to File Your Taxes (2019)
Frankly, the US' overly complicated tax code ends up backfiring. It's of course compounded by Intuit lobbying against simplified filing.For starters, there's so much complexity to it that unless you use software like this or a CPA it's almost certainly the case you're leaving money on the table. And it also means that if you're a very high net worth individual there are a lot of loopholes that allow you to defer or significantly reduce your tax burden.
Java 16
I wish Java had something similar to Properties in Delphi.http://docwiki.embarcadero.com/RADStudio/Sydney/en/Propertie...You can have Get and Set methods for properties or even allow direct access to the variable itself.type TCompass = class(TControl) private FHeading: THeading; procedure SetHeading(Value: THeading); published property Heading: THeading read FHeading write SetHeading; ... end;Also, properties can be indexed.type TRectangle = class private FCoordinates: array[0..3] of Longint; function GetCoordinate(Index: Integer): Longint; procedure SetCoordinate(Index: Integer; Value: Longint); public property Left: Longint index 0 read GetCoordinate write SetCoordinate; property Top: Longint index 1 read GetCoordinate write SetCoordinate; property Right: Longint index 2 read GetCoordinate write SetCoordinate; property Bottom: Longint index 3 read GetCoordinate write SetCoordinate; property Coordinates[Index: Integer]: Longint read GetCoordinate write SetCoordinate; ... end;Properties can also have "property pages" which can show specific user interfaces for viewing/setting these properties.https://www.delphipower.xyz/guide_8/adding_a_property_page.h...I have yet to see anything of this sophistication in Java or for that matter in any other component framework.
The Art of Warez Documents the Lost ANSI Art Scene (2019)
Wait, all these NFOs illustrations had color?? They never showed in color for me :(
Microsoft in talks to buy Discord for more than $10B
in that case, i will ditch discord for zulip chat insteadmicrosoft buying Github is fine, since everything i do on github is open source, but chat applications are more private, and I would consider ditching discord if a company like microsoft buys discord, just like i ditched tumblr when yahoo bought it
Julia 1.6 Highlights
See also Lyndon’s blog post [1] about what all has changed since 1.0, for anyone who’s been away for a while.[1] https://www.oxinabox.net/2021/02/13/Julia-1.6-what-has-chang...
Large-Scale Abuse of Contact Discovery in Mobile Messengers [pdf]
Paywalled
Why you can’t buy a thermapen on Amazon (2016)
I'm surprised ligma isn't on this list.
Tech giants join call for funding U.S. chip production
It would only help with 10nm+. I don't think throwing the money into the industry could solve the shortage of 10nm-. The real problem is lack of top 20% engineers in this industry. The salary for hardware engineer is uncompetitive with software engineer in US.
Amazon devices will soon automatically share your Internet with neighbors
Except I don't have any Amazon devices, and I won't ever be buying any. No way I'm exposing myself to that kind of liability by "sharing" my internet with complete strangers.They can't keep counterfeit items and scams out of their store, what makes you think they can manage who your internet is shared with?
Fewer young men are in the labor force, more are living at home
This thread got over 1100 comments, many of which are based in personal experience and are thoughtful. Others, alas, are flamewar dreck, but I hope everyone reading a forum like this knows how to step over stuff like that.HN threads are still paginated, so if you want to read them all you'll need to click More at the bottom of the page, or like this:https://news.ycombinator.com/item?id=27473199&p=1https://news.ycombinator.com/item?id=27473199&p=2https://news.ycombinator.com/item?id=27473199&p=3https://news.ycombinator.com/item?id=27473199&p=4https://news.ycombinator.com/item?id=27473199&p=5(Comments like this will go away when we turn off pagination. Sorry for the annoyance.)
Unison Programming Language
what can you build with it?
Of 55 students in my class at Columbia’s Film program, 4 made a career out of it
Related podcast https://podcasts.google.com/feed/aHR0cHM6Ly92aWRlby1hcGkud3N...
NYC to mandate proof of vaccination for many indoor settings
There's a book called why the West still rules and in it it talks about the history of human civilization and discusses the idea that there are sort of theories that can predict the major directions and major players at each stage of history as the meaning of technology and geography alters over time in response to the level of development and interconnectedness of society.In that book there's this concept called the advantages of backwardness and it's this thing that crops up often after a crisis where the previous major player, having collapsed as a result of whatever forces brought them down, surrender some of their former glory to previously more backward regions whose backwards methods, in the new climate or situation, set them up for success.Here's a quote from Ian Morris the book's author discussing the advantages of backwardness in an interview:"And as cities, states, and industry spread, they entered new geographical niches where the old ways of doing things didn’t always work. People on these frontiers were forced to tinker, to make old techniques work in new—and eventually better—ways.The best example might be in the origins of agriculture: Seven-thousand years ago, farming first developed in the hilly lands around the edges of what we now call Iraq. When farmers moved down to the plains of modern Iraq, they found that to make farming work, they had to develop irrigation agriculture.We saw the same thing happen again with the spread of industry in the 19th century. Industry was invented in the British Isles, but as it spread outward into Germany and North America, people in these places had to create new ways of making industry work successfully. As they did so, Germany and the United States began to replace the British Isles as the center of industry. And we see the same process continuing to work in our own day. In the last 20 years, we’ve seen the meteoric rise of China. We should expect the “advantages of backwardness” to continue being one of the major motors in world history."The connection with the present topic I think is the following. In a sense we've denied our immune systems the advantages of backwardness by the very same advanced technology we designed to augment and protect them. In other words by rushing to create and deploy a vaccine we've prevented our collective human immune system from cultivating defenses to this virus. In that sense I think the policy from a high-level strategic point of view is a weakness and possibly fundamentally flawed, because it opens the possibility the we've made our immune system dependent on vaccinations to deal with further and related infections in future. The other side of the coin is the advantages of backwardness for the virus: we have applied such a strong selective pressure so universally and quickly that in order for the virus to survive it is forced to evolve to become more transmissible, and possibly more dangerous. The more dangerous point is contentious but I argue it as follows because the more dangerous a variant is is correlated with the strength of our measures against it we are selecting for more dangerous variance to evolve more transmissibility. In effect this could be one of the first times in human history that our advanced technology has seriously thrown a natural system previously in equilibrium, in other words the equilibrium between our collective immune system and the collective microbiome of bacterial viruses on Earth, out of balance. nearly many natural examples of how we've done this but they're localized to particular regions like oil spills or Forest clearing we're throwing ecosystems out of balance left right and center but this might be the first time we've done it on a global scale. (And if we release the prophesized mosquito nuclear bomb that's going to wipe out mosquitoes around the world that will be another example of throwing a global ecosystem out of balance). In this pandemic topic, as we keep throwing more fuel at that fire thinking we're solving the problem we may end up simply be providing fuel for future conflagrations that could lead to our collective demise.I don't want to be too dramatic here and I admit the choice of words has a little bit of that effect but we are talking about a massive global scale thing which we are right to take it seriously and while there may be many motivations for getting a large proportion of the world vaccinated, this line of thinking is not one I've seen elaborated very much so I wanted to add it here.
McKinsey never told the FDA it was working for both the FDA and opioid makers
Another gross thing they did: A former DEA council in charge of regulating distributors then worked with them to pass a law by unanimous consent neutering this single enforcement tool the DEA had.The former DEA attorney "gave the industry intimate knowledge of the DEA’s strategy."Below links have gross records that reveled among other things that a Rep. sponsoring the bill emailed the lobbyists asking for questions he can ask the DEA...If you haven't watch Gibney's "Crime of the Century" on HBO it touches on this incident. The context is that the DEA used a stop order against McKesson, it was one of the only tools they had. McKesson did not like this. They pushed back HARD. I understand concerns that legit non-opiate meds were held up for a few days, but this was the only tool DEA had to send a message.Of course.... “Purdue was very active in influencing the ultimate definition of an ‘imminent danger to the public health or safety.’ ”Humans, hell even the most obvious 'AI', could flag ginormous amounts of pills going to tiny zip codes. They put profits over people's lives. They violated the law, minimally in spirit, I believe in conservative textual reading."the sponsors and co-sponsors have received $1.4 million in campaign contributions from the industry and the alliance, according to campaign finance records."It's shocking how relatively tiny amounts of money open access to decision makers.Gibney's doc also reveals this addiction pushing behavior is endemic: Purdue had a government regulator sit in a motel and draft their label - which gave them the excuse to market a potentially 'less addictive' drug and we all know what happened from there.https://archive.is/bmCiD https://www.cbsnews.com/news/whistleblowers-dea-attorneys-we...I have very strong feelings about what I consider crimes of big pharma & opiates. To me, our for-profit system is a root cause of human misery. Obviously complicated issue, but I think there has to be some type of semi competitive socialized healthcare.
Canyon.mid
I don't think I ever listened to this on a computer with a good sound card. I don't remember it ever sounding so good.
My Emacs Lisp book is finished
Any chance you offer regional pricing?
Zrythm: A highly automated and intuitive digital audio workstation
Wanted to give it a try, unfortunately under Fedora 34 the alpha AppImage segfaults when run via pw-jack (pipewire jack "bridge")
Hot Dog Linux – Horrible Obsolete Typeface and Dreadful Onscreen Graphics
I like most of these better than Ubuntu's defaults.
Show HN: Bionic Reading – Formats text to make it faster to read
Woah
Ask HN: So you moved off Heroku, where did you go?
We went from Heroku to a self-hosted OpenShift cluster on AWS EC2 for compute and managed AWS services for state (RDS and Elasticache).1. A few months. The actual changes to the apps were not fundamental, but we discovered a lot of things we didn't know about our own codebase and it had to be fixed. The majority of changes were devops plumbing not Ruby/Rails. The move itself, including all the necessary admin changes and supplemental work took about 1.5 years from decision to cut off date.2. Me - about 30 years of total experience, 10+ years of devops/SW mixed experience. But total Ruby noob (and still is, you don't need to know Ruby to move apps)3. The move made me a multimillionaire and a couple people billionaires and another 100 or so millionaires or multimillionaires. I mean this move opened the path to the IPO and we became one of meme-stocks of 2021. So even if I never touch AWS, Openshift, Heroku or Ruby it was totally worth it. I didn't learn any fundamental new things (after 30 years in the industry it rarely happens), but solidified my skills in many departments. I never run such a massive containerized workload before, for example.4. Nobody cared actually. We grew like bamboo at that moment, so very difficult to compare apples to apples.5. A single monolithic app about 0.5M LOC and a few smaller ones. Hundreds thousands of customers, tens of millions of revenue/month
Brave browser to start blocking annoying cookie consent banners
"These notifications are incredibly annoying but have become necessary to do business online to comply with data protection regulations like GDPR."No, they are not necessary. Website owners can choose to use privacy-friendly tools for analytics and then a cookie modal is not necessary
Who knew the first AI battles would be fought by artists?
One year ago:https://www.amazon.com/Realtors-are-Not-Allowed-Moon-ebook/d...
Ask HN: Has anyone worked at the US National Labs before?
Briefly worked at Johns Hopkins APL.- PHd professors were basically seen as demi-gods. It was their way of the highway, down to the micromanagement level, and they make terrible managers- Worked seemed pointless. "Here is some money to look into this, this will likely never get implemented"- Implicit push for producing positive results rather than saying this won't work.- Just dreary environment overall.Also worked at NavAir at Paux River.- salary was absolute shit for the amount of technical knowledge/work required. I feel like setting up the instrumentation (hardware/software) for an experiment in a wind tunnel is orders of magnitudes harder than writing a web service, but maybe thats just me.- Got to work on some cool things, but gov culture and nepotism is too much. People with military experience automatically put ahead career wise above those without. No thanks.>but nowadays I find their performance-review and promotion obsessed cultures to be really draining. Worse, those negative feelings seem to be leaking into my personal life and slowly alienating friends and family.As someone that has worked for FAANG for 6+ years, this isn't an issue with FAANG but an issue with you. Its fairly easy to move around FAANG (although probably not right now) to find a niche job where you can cruise control on your salary without anyone bothering you too much.
Over the past 21 months I’ve written a code editor from the ground up
I tried to do the same with my iPad but the limitations of NPM have made it a bit difficult, def past the first 12 months
Some insects I found inside dried Turkish figs from Trader Joe’s
Interesting reply in the original post by Jason:> This reminds me of what I read somewhere about how, when vegetarian Indians started living in England in large numbers they would often have dietary deficiences. The story was that traditional processing left a lot of insects, and the much needed nutrients they contained, in their diets. Industrial processing of the same foods did not.> Source: “in the mid-1970s it was found that orthodox Hindus who had been quite healthy on a vegan diet in their native India began to suffer from a high incidence of metaloblastic anemia after living for some time in England consuming the same diet. The cause was traced to vitamin B-12 deficiency, which in India was prevented by insect contamination of grains.” (pp. 168-169, “An orchard invisible : a natural history of seeds” by Jonathan W. Silvertown.)
Lesser known tricks, quirks and features of C
Great read, and lead me to "When VLA in C doesn't smell of rotten eggs" https://blog.joren.ga/vla-usecases and this: int n = 3, m = 4; int (*matrix_NxM)[n][m] = malloc(sizeof *matrix_NxM); // `n` and `m` are variables with dimensions known at runtime, not compile time if (matrix_NxM) { // (*matrix_NxM)[i][j] = ...; free(matrix_NxM); } Well, that makes much easier a few things I'm doing atm, really glad I read it.
Simply explained: How does GPT work?
I think it's the "The Paperclip Maximizer" scenario, not "The Paperclip Optimizer"
Show HN: Homemade rocketship treehouse – hardware to custom OS
All my life I wanted to fly like the birds that you see way up in the sky. Making circles in the morning sun flying high in the sky until the day is done.
A visual book recommender
I'm astonished by how well this works. I looked for a bunch of books I'd read recently and kept finding other books I've read or want to read near them.
Third-party Reddit apps are being crushed by price increases
Does this affect teddit.net or does that circumvent the API like nitter does with twitter?
Apple VisionOS Simulator streaming wirelessly to Meta Quest headset
Wait, Apple has no plans to ship a hardware dev kit?!Launch day apps are going to beThis project is sorely needed
Ask HN: PG's 'Do Things That Don't Scale' manual examples?
if (user.orgID === 'importantCustomer') { bespokeFunctionality(); } I guess everyone will encounter this one at some point?
Ask HN: PG's 'Do Things That Don't Scale' manual examples?
if (user.orgID === 'importantCustomer') { bespokeFunctionality(); } I guess everyone will encounter this one at some point?
An Awesome Book
I share a washing machine with this dude; Way to go Dallas!Y'all [the HN community] have great taste.
JavaScript mp3 decoder allows Firefox to play mp3 without flash
When does mp3 playback fall out of patent protection? I know people keep digging up new patents for popular standards but assuming Mozilla and like-minded developers put some effort into patent avoidance you'd think they'd be able to include native support for some subset of mp3 playback without too much patent trouble by now.
Facebook claims it does not track users, but files patent to do same
Not necessarily contradictory. Not enough context to conclude anything.As far as I know, if this was Google, for sure everyone would argue "they patent this tracking system just to avoid other less reliable companies to do so".(I still think that facebook is malign, though)
SEO tricks from Patio11
On the subdomains topic, on one of my sites I went the subdomain way for languages. Example: www is for english, de is for german, fr is for french and so on. The reason I did this is because I wanted Google to index the sites properly, in the right language. So if you go to google.fr and search for some of its keywords you would see the french version and not the english one. I'm just not sure how Google behaves but my feeling is that if all your languages are on the same domain (without any difference on the URL) then it will always display the english one by default (assuming it's the default one, obviously). Can anyone enlighten me?It's been working for me but I notice the english version (which is the default one, www, but not the one with most visits) is not working as good as the other languages so I'd say juice is not shared between subdomains, like Patrick said. Still trying to figure out what's the best solution...
Where's Waldo?
I had to play around a little with the level. If the level is too high, too many false positives are picked out.I was impressed until I read that--the guy is basically fitting the model/procedure to the training set (of size 1). I'd wait for a more general approach before accepting the answer.
Show HN: Github for Designers
Looks cool; nice job!Some notes:When playing around with the |X|Y| functionalityBUG - Dragging the slider on a compare window beyond the container and releasing the mouse causes the window to follow your mouse around. Your drag and drop "sorting" functionality seems to kick in.BUG 2 - Adding multiple versions to the compare frame works well, however it was initially hard to tell how to remove a given frame. Some ability from the frame would be nice, but that wasn't the bug. When you add multiple versions to compare you see them highlighted below. Then when you go to another view (i.e. the single revision view) and back to the |X|Y| compare view the frames you were last comparing are still there, however they are no longer highlighted.Again, this looks great, just keep going! :)
Why Privacy Matters Even if You Have 'Nothing to Hide'
Oh you have nothing to hide? Well show me your genitals then.Yeah, that's what I thought.
Stripe And A/B Testing Made Me A Small Fortune
I can't wait to sign up for Stripe, as soon as they accept currencies besides the USD!My bank account is in the states, but I need to be able to charge Europeans in euros, Brazilians in reais, Japanese in yen, etc...
I conceal my identity the same way Aaron was indicted for
You can carry a concealed handgun and shoot it at a shooting range, but if you murder someone with it - you will not only be charged with murder, but also with unlawful use of a handgun. This is common sense stuff here people sheesh.
Buttons with built-in loading indicators
A few years ago I built a button for an iPhone app that turned into a progress bar while loading:Here's a CSS version of it (with image assets).http://codepen.io/kballenegger/pen/uJGCF
Media for Thinking the Unthinkable
I think one major reason why Victor's talks are so appreciated is that he shows a deep and serious engagement with humanism, tapping into the same vein as Christopher Alexander, Alan Kay, Jef Raskins, Seymour Papert, and others.
Occupy Wall Street activists buy $15m of Americans' personal debt
what percentage of personal debt is medical related? That is typically the clearest case of "life threw them a curve-ball" situations where it was completely out of their control (usually).
Winning at Candy Crush
In 2007 I did the same level of digging with a facebook puzzle solving game. Game used to post daily puzzles and top scorers (solving the puzzle in minimum time) were shown on global leaderboard. At that time, the app was not using any kind of hashing or validation. It was simply posting the score to the server so tempering the data was easier. After staying on top of global leaderboard for a few days (with impossible score of 1 second), the app developer contacted me and requested to stop cheating the system. I suggested him some changes and the game became much better
The Great Firewall of Yale
> Universities are a bastion of free speech.Incorrect - universities are now a business, nothing more. You can have your free speech so long as it makes the shareholders happy. Having students confused and lost (or being unable to chose the best education for themselves) is a fantastic way to have them repeat courses in the long run.Tertiary education is no longer what it used to be. It is now exactly the same type of delusion that women face in terms of having to be slim; or consumers face in terms of having to have the latest iPhone or what have you.
Keybase.io
This is awesome. We didn't anyone did this before?
Introducing the ‘mozjpeg’ Project
At first glance this seems wasteful. I do not think anyone would have problem in using Jpeg. However, in many cases, before the the invention of a thing who has had no problem using old tools!
CDC confirms first Ebola case diagnosed in US
Why don't they just stop the flights to and from infected areas until it's "under control". Or why don't they stop the plane at a base and check everyone on board before allowing them back into society? This country's leaders can't be that stupid.
Bringing SSD Performance to the DIMM form factor
I would still say that the real performance bottleneck is ultimately the bandwidth between the CPU and this memory. This suggests that the next stage will be to incorporate heterogenous processors alongside that memory - thus upgrading your computer could then be as simple as plugging in an another combined non-volatile memory/CPU block into a fast inter-connector. Rather reminds me of the the old S100 bus where everything just plugged into the same channel, (which probably dates me quite well).
Join the U.S. Digital Service
Are there any specifics anywhere regarding the positions, desired skill sets, or anything other than generic descriptions? I've seen a few people comment here about positions being in D.C., but I can't find any details like that.
Tunneling Internet traffic over FB chat
While I find this project awesome, but I don't think telecos or even facebook will allow this in long run. I think that it even breaks facebook TOS.
Is ReactJS really fast?
Setting aside all arguments in the article, I am just generally annoyed by the simple fact that he calls React a "framework" in the article. It's a library, not a framework.Angular is a framework; it includes everything that you need (and in most cases, significantly more than what you need). You can build an entire web application using Angular without any other external libraries. On the other hand, you usually need to combine React with a router and some library to manage state (or stores/actions if Flux).For this reason, we shouldn't even be comparing "Angular v. React". They aren't equal and they were not meant to be compared. If want to make a worthwhile comparison, try a "Angular v. React with Flux Architecture"....but, honestly, can we just stop writing articles like this? What purpose do articles like this serve other than saying, "X tool that I use is better than Y tool that you use and here is why"? If you really want to share knowledge, write about best practices, anti-patterns, etc. Good riddance.
The Space Doctor’s Big Idea
tl;dr: Numbers.
Kill Your Dependencies
Interesting to note that the Stripe gem removed one of its dependencies seemingly in reaction to being called out at the end of this article.
Apply HN: Pinboard – Make Y Combinator Great Again
i have a different take on this . I think buffer and pocket have done great work in this year. Obviously pinboard as well. I am not sure if I am the only one but I think the problem is bookmarking. On HCI terms, bookmarking is not intuitive to how human brains work. Instead we just go through events and the nature of events makes us AUTOMAGICALLY index them in our brain and when we wish to retrieve them our brain just uses that index.On those lines I think it should be more like log everything that I hit on all my devices and make the search organized. Something similar using apriori algorithm was my school project and I used it a lot until now when I have slowly moved to pocket.My 2 cents - "In short better to have a smart search and indexing instead of bookmarking "
That'll do, pig, that'll do
What parent really wants to complicate the fundamental lessons and experience that chore assignment and reward teach their kids?Every thing, process, or task out there isnt always improveable by an app. Maybe all that wasted capital could of gone to kids who wont ever be given an allowance?
Apple, Microsoft, and Google hold 23% of all U.S. corporate cash
Don't share holders want some of this money back? 200 billion in cash just sitting there is not doing anyone much good.
Nvidia adds telemetry to latest drivers
Ever since AMD put in the effort into open source Linux drivers, I've been only buying Radeon GPUs. This is a reminder of why I don't want to rely on proprietary drivers.
After 1 minute on my modem (2016)
If anyone is actually suffering from dialup speeds and using Chrome, you should try out my extension to disable web fonts: http://github.com/captn3m0/disable-web-fonts. It blocks all network requests to font-files. Also has a couple other tips in the README for improving page-load performances over slow networks.I wrote it when i saw suffering terrible speeds over mobile internet (EDGE) a couple years back.
Gene Cernan has died
50 years ago we went to the moon. Incredible to contemplate!
Google featured snippets are worse than fake news
Cuil crashed and burned on pretty much this ten years ago. Anyone else remember Cpedia? They eventually had to start taking stuff down due to threats of defamation. (And ran out of money shortly after.)I mean, at least Google's search is any good, that's something.
Why Infrastructure Is So Expensive
Interesting and disturbing article.The author ends with some ideas about how to solve the problem. I would like to make a suggestion.To start, I think it is a good principle that whenever there is a problem in this country, we should look at other countries to see if they handle it better, and if any do, look in detail at how they do it, and then think about adopting their methods to the US. My suggestion is simply we do this with the infrastructure construction problem.
OpenBSD Will Get Unique Kernels on Each Reboot
the more i hear about OpenBSD the more i like it, i really should do more with it as my current experience begins and ends at using pfsense (well and a PS4 which i believe runs a BSD based OS if you count that)
Canada's 'secret spy agency' is releasing a malware-fighting tool to the public
First OpenBSD and then this, Canada is like the promised land for security minded people!
The Pentagon’s U.F.O. Program
Military loves funding. I wouldn't be surprised if military guys were fanning the flames of the UFO claims in front of the right legislators to get the funding they want.Find out what a person truly believes in and you can rule them.
Monitoring Home Power Consumption for less than $25
I'm late to the discussion, but I've been monitoring via RTL-SDR and rtlamr for over a year, so I figure I should weigh in. In general it was super easy to do.- First, check to be sure your meter is compatible. (My gas and electric are both Itron) https://github.com/bemasher/rtlamr/blob/master/meters.csv I recommend taking a photo of your meter. (helpful for reference and comparing numbers)- Next buy the antenna and dongle. Probably obvious, but I tried buying one with out the antenna and it wasn't good enough, so I had to modify an old wifi router antenna to make it work. I just searched amazon for rtl-sdr.- Once it arrives, plug it in and install the rtlsdr software/driver. I think this may have involved installing a kernel module, but I didn't run into any trouble on linux. (I used pre-compiled binaries for my old 64-bit laptop running Ubuntu 16.04) You can test things by picking up fm radio via rtl_fm.- Next, install golang, and "go get rtlamr".- To monitor, you first start rtl_tcp and let it run in the background, and then run rtlamr which connects (via tcp) to rtl_tcp to tune the device and get raw output.- The dongle can get pretty warm/hot.- My meter has the meter number printed right underneath a big barcode. The first two digits are 12 or 05 for the meter type. I found this to be a pretty easy way to find the meter.- My meter broadcasts two extra decimal places, so if the meter display says 123456 kwh, it actually broadcasts 12345678 (I appreciate the extra precision). When processing things, I just add a 0 on the end to make it watt-hours. (This is true for gas too.)- I get a reading from my power meter every few seconds. About once a minute for gas.- I log all of my meter readings and append to a giant ~700mb CSV file.- I have a once-a-minute cron job that computes per-minute usage for the last 48 hours. (I save that to a static file and then graph using nginx + javascript. I started out by graphing using excel/numbers)- I also have a daily cron job that computers per-day usage going back to October 2016.I keep rtlamr and rtl_tcp running using systemd. The rtlamr command I use is: /home/collin/bin/rtlamr -filterid=543xxxxx,490xxxxx -format=csv -quiet >> /home/collin/data.csv
India Wants to Give Half a Billion People Free Health Care
Prescription Pad is a clinic management software provides all types of facilities for hospitals & doctors.The best part of the software is Prescription writing facilities for doctors & drug & brand interaction checker tool.For more info please visit:http://www.prescriptionpad.in
Automerge: JSON-like data structure for building collaborative apps
Recently I created jkt library for my NodeJs project. https://github.com/slaveofcode/jkt
California to Introduce 'Right to Repair' Bill
The spirit of this sounds great on paper, but are we not recognizing the reality that technology innovation necessitates an inability to repair?It happened in the car world when emissions regulations hit the scene and vacuum hoses and check engine lights became the norm. Can’t imagine anyone repairing their own Tesla.If the answer is to make devices thicker so they can be more easily serviced, I couldn’t be more against.
Famous cryptographers’ tombstone cryptogram decrypted
This discussion of ciphers vs puzzles has reminded me of one of my favorite books growing up. It was Helen Fouché Gaines Elementary Cryptanalysis. I found it in the library in 1962 and treasured the copy my Aunt purchased for me.This book predates the age of computers so every chapter introduces the common ciphers, including, military and diplomatic ones, in use at the time (I believe the first edition was written in 1943) along with the methods used to attack them.Over time I worked my way through the exercises that appear at the end of each chapter. Computers make light work of these challenging puzzles now, but it’s still fun to write programs to break these old cipher systems.Around 1987, I approached a very prominent professor in my CS program about being my Ph.D. dissertation advisor for a research project on Cryptography. He said that I should work in another area because cryptography had all been figured out and it didn’t look like there was anything interesting left in that field!
Ask HN: What are some tech companies that do not use an open floor plan?
In the '90s I worked for an audio/video compression company. We started out in a ramshackle open plan office. Tables thrown against walls, duct tape covering cords, computers stacked on bakers racks. Then some of our products really started moving, most video cards came with our MPEG player, the internet business was taking off and we had some money.Everybody was excited as we could finally afford cubes.
Cool Backgrounds
Nice images, I like the content. Would just be nice if you could add anonymizeIp to GA (if it's needed at all) and maybe host the fonts yourself. Not only for GDPR, but just for privacy.
U.S. lawmaker: 'Sure looks like Zuckerberg lied to Congress'
America needs to redefine literacy and replace these obsolete lawmakers with lawmakers who are coding literate. This is not at all unlike a group of illiterate lawmakers speculating about what a book they cannot read says after interviewing its author.
Console.table()
> Damn, glad to see thisHmmm. I seem to remember seeing this a year or two ago. Didn't really find any use for it.
Google Cloud Platform – The Good, Bad, and Ugly
Having multiple accounts as best practice has nothing to do with IAM being complex, it’s about organization and security.Would you run all your workloads in a single account? A bit messy if you have tons of resources and people collaborating.And what if this single account gets compromised?
Ask HN: What do you do in your 1-on-1s with your direct reports?
I do not have one on one as they are of no use. I believe in informal communication and trust.
What we learned from 3 years of bra engineering, and what's next
So the original post[1] commented that there is a combinatorial explosion of possible bras from having, the author says, 10 parameters to work with.I read that there was a similar scenario in the design of airplane cockpits, such that there were enough different dimensions of human variation that it was hopeless to design for the "average pilot": even assuming that each dimension had 80% of pilots within the acceptable range, it was basically guaranteed to be unacceptable for the vast majority of pilots. I read that the solution was to make all the relevant aspects of the cockpit adjustable; and that this was deemed expensive and dismissed at first, but it became obviously necessary and they sucked it up and did it.A simple, cheap, and effective process for custom-made bras seems ideal if they have it, but if that is difficult, then I wonder: could it work to make as many dimensions as possible adjustable, and then suffer only mild combinatorial explosion on the remainder?[1] https://medium.com/@hazelynut/why-i-have-a-problem-with-bras... , linked from the article.
Hashicorp Vault v1.0
I spent a few months of side work time working on a "secure-deployment-seed" project, https://github.com/jteppinette/secure-deployment-seed. It is a set of Ansible playbooks/roles that have Vault/Consul at the center of a standard web deployment where privacy/security is taken to the Nth degree of perfectionist driven insanity.I ended up never using it, because it never really felt "perfect" to me.. There are so many circular dependencies between systems (DNS/Consul-Template/Consul/Vault/Ansible) and bootstrapping is just complete hell. Dive into that repo and witness it for yourself.I can see myself using this setup if I was ever just doing Ops work, but when you are also doing everything else, it is just too much.Anyways, congrats to the Hashicorp team. Your stuff really is topnotch.
'Dark fluid' with negative mass could dominate the universe
This then leads to the inevitable questions, is an Alcubierre Warp Drive possible, since one of its pre-requisites was particles of negative mass?:https://en.wikipedia.org/wiki/Alcubierre_drive>>a spacecraft could achieve apparent faster-than-light travel if a configurable energy-density field lower than that of vacuum (that is, negative mass) could be createdIf this matter is popping into space continuously as the author describes, it could be possible to harvest it. The question is, how much of it is popping into existence in lets say a square km of space (something we could feasibly cover with our current tech), and how do we detect and capture it.The author does readily admit that his theory may be wrong, but useful as a mathematical tool. It's like saying "My theory may be the Newtonian Mechanical model of dark matter + dark energy, but not the quantum (read: real) theory." I sure as hell hope he is correct and its a real particle we could capture. It could open up technology we have yet to realize and get us off this rock.
1991 – a server-side web framework written in Forth
Can this recreate trying to figure out a way to host a web server in 1991?
Google Maps: Bird Mode
As always, here's the thread for people that dislike the twitter format: https://threader.app/thread/1099370126678253569