skysight-inc/HackerNews huggingface dataset:
Apple ditched OpenGL for their own exclusive 3D graphics API that they had released in production before Vulkan was even announced.

That they don't bother with supporting Vulkan is incredibly frustrating for me personally, but not even remotely surprising given Apple's mode of business.
Perhaps we should hard-code a rule (make it a cross-language industry standard) that says that the dependencies of a module should always be listed with the module (in a fixed format) and the build system doesn't allow the use of anything else (as a verification step).

That way, we could have a tool that always correctly shows the dependencies between modules.
I think UBI would be easier to achieve if the government just paid for housing. And built more apartment homes for everyone.

There is plenty of land and resources for everyone in America. But the oligarchs are super greedy, and force a fake scarcity, in order to have a supply-and-demand problem.

They just printed $4 Trillion USD, so it’s apparently quite easy to print money out of thin air. And then they gave it to their other rich buddies that don’t need the money. It was a pure and disgusting money grab, at the expense of everyone else.
I am not sure what do you mean by "stop" but I've done similar things using C some 20 years ago, here's the general idea:

You should have spare memory space to accept updates, there are solutions for in-place updates but that will make things more complex so let's skip that.

Once the new piece of code is in place you replace or insert an assembly jump instruction to your new code and you're good to go.

This can replace the whole code, but if done smartly can replace parts of it. Think for example of using a dynamic jump table into functions.
And if we’d shut the border when every smart person I know was saying we should have - i.e. early January, when it was obvious what was happening - we wouldn’t have had to drop an atomic bomb on our economy.

But no, we were too afraid of the optics of shutting the border with China.
I find it differently... I look at the old code and look at the lessons I learned as I wrote items on top of each other... my projects are basically layers on top of each other.
There's one other angle too here - a future version of the UK app will give people feedback on their level of distancing via a "social mixing score", which is basically the number of unique people they were recorded as being in contact with per day. This looks like it will give people an idea of "You were close to X people today, and really close to Y people".

"Close" will be locally determined, probably based on the RSSI model and duration of contact. This will give people feedback on how well they are distancing.

There's a lot of research which shows people struggle to know if they are doing well without feedback, and that people's perception of how well they can do it will influence if they try.

Couple this with a differential privacy daily voluntary "upload" (add a random, zero-mean number sampled from a normal distribution to their daily number) and people can find out if they're doing well, or if others are reducing contact more. NHS also gets an idea of average number of contacts and close contacts, and nobody actually needs to reveal their own number.
> an increasing percentage of the taxed income is derived from rents

Yes, thank you for making the link clearer.
Actually, it is often.

https://github.com/alphagov
Yes. Early on in my career, I needed a function that produced a range of dates, given a start and end date. After it was all said and done, it boiled out like so:

def daterange(start,end):
while start<=end:
yield start
start +=timedelta(days=1)

Though simplistic and straightforward, I admire the solution. I am sure there may be “better” ways to achieve the same result, and posting this here may result in cowboys trashing it or pointing out a fallacy - oh well... at the time, I was pretty satisfied with it and am still to this day.
I've written a "just use threads" approach to a web server in Rust, and if you're just juggling IO and not doing any real work like most CRUD webapps, just about every other async-capable language scaled more gracefully and used less resources.
Read this blog, it is pondering this topic quite thoroghly: http://earlyretirementextreme.com/
I generally admire the architecture and and some nice and elegant tricks on my past code, but not the code itself.
I always feel like things could be cleaner, with better names, with a more consistent coding style (I am quite severe to my self on this point).

Much older code is generally neither smart neither beautiful though.
Signal's sealed sender reveals ip addresses of the sender as well. And if you use the same IP to log in to the signal service, they can figure out who you are easily. The data pools even more as Signal is centralized. You only have to get AWS give access to Signal's infrastructure. And guess what, the DoD has giant AWS contracts already and with that tons of leverage.
Risky experiment.
Layoff peoples can be a competent CEO decision, so is using an event to do so.

But the way you do those layoff is part of the CEO responsibility. And from this perspective, doing so with marketing bullshit sounds bad as your demographics are mostly engineers.

With that, CEO doesn't seems to know what peoples are using its services so it use "generic" (aka marketing) line.
Hi, actually, the function is referenced from https://stackoverflow.com/questions/47879864/how-can-i-check... . :(

But I think there are two reasons to write like that:

1. It avoids multiple assignments, which could make codes cleaner.

2. My website is too simple so maybe there is no enough reason to do such "optimization". But if we are talking about a big project, this initialized global variable could make other codes which required to check if the wasm feature enabled easier and just need to calculate the status one time.
Ask HN: SaaS founders how often do you get requests for buying your source code?
I got one request today.

So yesterday P emailed us using @gmail.com email account requesting for a demo. In the email, P claimed to be from Athens, Greece. That's fine, we are based in Singapore. We can figure out our time differences.

Today I had the demo with P over Google Meet.

Mid-way through the demo, P offered to buy our source code. I'm skeptical of P's intent because it's coming from @gmail.com email account. And upon asking for his company's name and url domain, he avoided my question 2 times at least.

Before ending the demo, P emphasized that our software product is what he wants in Greece. I politely responded that I will discuss with my partner.

After the demo, I sent P an email to politely reject his offer.

My gut feeling tells me that it could be an organised scam. Do you have similar encounter?
What's your actual requirements?

Platforms are a fraught industry; Apple has done amazingly at making a closed platform that nonetheless manages to take a cut of third party apps. Generally either a platform is totally closed to extract all the value or totally commoditized so nobody makes much profit from it.

I would say that ESP32 is the "smartphone" for Wifi platforms; the SimCom and Sierra Wireless devices are the equivalent for GSM.

> I still haven't managed to get a consistent working GSM connection.

Pay very close attention to the power supply specs and antenna routing.
Just to let you know that the link to server.c (at least in the blog index) is not working..

Cool project by the way! I'm thinking doing the same with a Rpy..
I think the main problem is both Amazon and Google (and all the similar ecosystems) have a vested interest in rigging the results towards personal profits.

I see this more like an open index of local online stores, curated and not using scrapers/bots to index but by stores submitting their URL and search endpoint for meta-search across all their products. Let the user sort the results by price, location, etc.

Obviously there's always going to be people trying to game the system but it would still be better than what we have now, which is us consumers needing to use Google/DDG/etc to scrape through the 99:1 noise:signal ratio of search results these days just to try fluke upon a local online store that has what we want.
Certainly the block is manually controlled.

But I believe that GitHub is not blocked yet just because it is not "major" enough because it is used almost exclusively only by programmers.

If non-programmers started to use it more, I believe it will get banned.
There's an Android port but unfortunately it's by some company that's selling it and blatantly violating the GPL.

https://pcsx2.net/286-the-pcsx2-team-s-statement-regarding-t...
> I use Keybase to talk to my friend in China since it's one of the few services they don't block.

I think the vital question is why was keybase not blocked?

Maybe it was owned by someone high-up in China. That is why maybe Chris Coyne refused funding. It was free to just to onboard maximum number of users. Seems like "users" where the products that bought value to keybase.
Design Resources for Developers by Brad Traversy
"M = Alt", "C = Control" is such a trivial thing to remember, yet it is brought up as a critical emacs deficiency every time. Why isn't this argument brought up in every Mac/PC discussion, or Xbox versus playstation?
Thanks!

Yep, totally agree it's hard to incorporate the future, especially when it's in free-form like org-mode notes. Past data is much easier becuase it's at least somewhat structured and easy for the computer.

I guess my take on this is that subjective metrics, like the one people use to define 'success', 'growth', etc., are orders of magnitude harder to grasp than objective metrics (e.g. hard data, like sleep or excercise logs). Yet, we don't even have good means of incorporating the hard data in our lives, so I chose to start with an easier problem.

Yeah you're right, my future planning is all in my org-mode notes, I reflect on it with my brain, but so far not sure how I can use software (apart from organizer software) to aid me with it. It would certainly be an interesting area to explore.
In my case I have a dynamic IP but I use a Linux box as a router and set up Google DNS record sets for my domains and after every reconnect to Internet (or PPP connection in this case), a shell script checks to see if the IP address changed by comparing with a text file, and if it has, it updates the IP address using the gcloud CLI utility.

The DNS timeout is set relatively low, 5 minutes. I used Google Cloud DNS because it’s scalable, cheap (the setup costs under $2/month for low traffic) and has a great API and command line tool. Just took a half day of tinkering to get it all set up and most days I forget it’s there. (I should probably set up monitoring, but it’s fine most days...)

If using CloudFlare, it’s possible you could push your dynamic IP to CF as a DNS host. Haven’t looked into it yet.

And of course there’s the DynDNS approach but most of those approaches seemed more complicated or costly these days. I also use gcloud to update the DNS for LetsEncrypt roughly once a month, so it does double duty. The language for the gcloud DNS CLI tool is a bit technical but try it, test it out, and it’ll start to make more sense by example: https://cloud.google.com/sdk/gcloud/reference/dns

For a bit more security, the apps I’m running are in their own virtual machines and I’ve tried to enable default auto updates everywhere. I keep telling myself I’ll set up something more complicated to create a continuous deployment pipeline with test cases and automatic rollback but I haven’t yet gotten around to it. (Though it would be fun to set up my own virtual PPP server at some point for running test scenarios, etc.)
It's not allowed to keep state of the user without asking (under GDPR).
No technical hack changes that, no not even an SPA or running a webpage in an iframe.
If you have state for one purpose, you are not allowed to share state for another purpose.

I know that's bad. I don't know how many things we are used to should work in such en environment, where users are trained to NOT consent to anything, cause consent is only needed for bad things they do NOT want.

You are event not allowed to tell a user: this will not work without consent.

I'm perplexed how any complex thing should work.
Is it time for SO 2? Lets be real, many articles are out of date with answers being for older versions, the culture is getting worse and the company is looking to cash in on the thing. Could we use a blank slate?
The Stackoverflow CEO and/or PR team is guilty of what journalists call “burying the lede” but the following quote from the message is quite good in my opinion:

> This week, we reduced our global workforce by approximately 15%. Most of the affected employees were furloughed, except for employees and contractors in regions where furloughs were unfortunately not an option. These actions primarily affected sales and customer success teams within our Talent business, which is dependent on the hiring environment.

TLDR at the top perhaps? Communication is hard. Enterprise sales and service will suffer as the world comes out of pandemic lockdown. As we go through this “Great Pivot”, we have to embrace the engineering concept of “good enough”. The content in this message could be better but it is good enough given the circumstances.
OP is literally asking why PCSX2 isn't cross-platform.
Decentralized Proofs
FWIW, in iOS 13 Apple has finally made it so you can firewall off user personal device control from MDM control https://www.brianmadden.com/opinion/Apple-iOS-13-user-enroll...
As M. Ahern points out at https://news.ycombinator.com/item?id=23098813 , that's only part of the job.

Assuming that you actually use rename() to do the unlinking and atomic updating, the "make install" should also ensure that write permission is removed from the new files.

* https://github.com/jdebp/nosh/blob/79b1c0aab9834a09a59e15d47...
A right click, view source mentions hakyll https://jaspervdj.be/hakyll/

Probably in combination with org-mode http://wikemacs.org/wiki/Blogging
I haven't experienced this as a scam. Doesn't mean you shouldn't be aware. I've often had requests for my source code and "why don't you just open source it", often ignoring the thousands of dollars it costs to operate the services per month.

I wouldn't get too excited about it unless P can give you some details as to why he wants to buy it, history of being able to successfully commercialize, etc. etc.

If P has the ability to provide your product in Greece, why not try for a partnership/sales agreement rather than buying the source? Once they buy the source, that's it, it's gone.
Samsung Critical Security Vulnerability: 0-click RCE in All Modern Phones
The only thing that's good it is that it makes the law less arbitrary. E.g. why should my friends who are in mechanical engineering be allowed patents while I am not?

But other than that, there's not much good about it.
I agree with it from an architectural standpoint, but it violates the TOS of most residential ISPs in the US and endangers your internet connection if it starts seeing any significant traffic.

ISPs there are usually monopolies or duopolies so you run the risk of having to buy slower/pricier service, or being totally offline, if one shuts you off.
Surround yourself with people smarter than you. I'm not that smart though... so it might not be a compliment...

It's simply discussion around links, and isn't dominated by competitive people trying to get top comment like Reddit/Imgur is.

There's much more emphasis on innovation and technology, rather than cat pictures. I think this rather serious and neutral nature of Hacker News is why I keep returning
Ukrainian language is called "folk language" (народная молва) in Russian language. In Ukrainian, it just "language" (мова).
I don't want to make my visitors more trackable than absolutely necessary. Sure, my ISP and their ISP will know that they connected to me, but not to which site thanks to TLS. If I host on CloudFront, Amazon knows exactly which pages they viewed at which time because they can see inside the TLS connection.
Yes and no. The classic adage of "what if" tends to fly into these conversations prematurely.

Let's face facts. Most personal sites won't see a giant boost in traffic unexpectedly. Which means hosting and paying a cloud provider is completely unnecessary.

If you happen to become popular enough (the 1%) THEN you start to consider some scaling patterns.
Yes. As a frontend developer, my default mode now is to almost always go straight to searching issues in the GitHub repo of an npm package I'm using.

I only end up on SO when googling very generic questions about React, TypeScript or JavaScript (and sometimes CSS). Also, the top Google results from SO are often from ~2017 or earlier which puts me off
You really have imagination.
I was going to say pong. Or fireplace. Or maybe the same experience on macos or linux or editing files on an embedded router remotely with tramp.

But really the customization is the use case.

just some examples:

I have written a few specialized diff functions. diff two directories, diff 20 files, diff what I have vs checked in. many different comment-out-a-region functions. remote compile. local compile, but build this part of a project or build it this way. every language I code in has customizations, for indent, for tabs, for colors, several "insert a debug printf".

They are all silly and redundant of no consequence. I frequently rewrite them or throw them away depending on the project I'm working on.

they are meta-silly even: f2 will rotate through editing my 3 startup files.

However - when the time gets tight and I have to do something on a schedule, I'm not grinding through some other person's decision of what is best, I'm just doing it. I also get better at it with time.
Finn here. Results have been negative on this so far, at least for students before high school [1]. Most children at that stage aren't yet capable of self-directed learning. Problem is compounded by the distractive effect of digital equipment in class.

[1] https://yle.fi/uutiset/osasto/news/finlands_digital-based_cu...
Perhaps the propaganda efforts are comparable but I submit that it is a topic separate form Chinese censorship that extends well outside China.

Likewise, in a discussion of US propaganda, to bring up Chinese censorship as a rebuttal would be a strangely off topic distraction.
When ever there is talk of mining The Moon, I think of the Moon mining scene in the movie Time Machine and it makes me mad. https://www.youtube.com/watch?v=cSs6eKmTCDY&feature=youtu.be...
Source code for COVIDSafe app is now available on GitHub
https://github.com/AU-COVIDSafe
It depends on what you code. For me there must be three things for me to be proud of some codebase:

1. I could use my creativity (it was not entirely defined problem which just needed to be translated to code).
2. I have enough time to make it good, not rushed.
3. Problem was a little over my current competence level, so I could learn something new.

If you only make CRUD forms day in/day out it's hard to be proud of what you do. Creating map display engine which is more performant than anything you have seen to date IS a thing to be proud of (I'm still proud of that one thing, but it's other firm's internal tool, so I can't show you). Unfortunately, for most developers being able to work on such things is very rare. I had maybe 5 such things over my 20 year career.
> if you're writing cross-platform games and not using one of the established game engines that wrap OpenGL/Metal/Vulkan

FTFY
I made a post some time back about maintaining 64k connections in a Ruby process a while back: https://www.wjwh.eu/posts/2018-10-29-double-hijack.html . It only stopped at 64k because I could not be bothered to rig up multiple IPs so it eventually ran out of ports.

Just having a lot of connections that do trivial stuff is not very difficult. It becomes way more interesting when all of those connections need to access shared data structures and whatnot.
Thanks, I'll check it out.

I find using apollo's graphql client library solves this reasonably well too, though the syntax is a bit clunky and knowing when you need to explicitly define a cache function or not is tricky.
China has a long cultural history of being relatively more wealthy than everyone else. But in absolute terms though they've just had a huge amount of technological progress dropped on them. Something like 3+ generations in of progress in Europe compressed into a fraction of a generation in China. And they look like they are regaining their traditional place as a world leading power.

India will eventually show them eventually up as having an inferior political model but on balance I can see how an evidence-based person would conclude that China's government is working well, on the basis that it presided over the fastest leap forward in living standards in human history. I'd still rather live in Europe, India or America though.
Having just moved some of my static sites to S3+Cloudfront, I think the main reason to self-host would be self-education. AWS is great, but it's quite opaque compared to having your stuff right there on a box you can poke at.

There's also a distinct vendor portability advantage. If you want to move your self-hosted static site from your home connection somewhere else, it's pretty straightforward. But if I want to move my static sites from Amazon to some other cloud vendor, I basically have to start my Terraform from scratch.
My last position was for a b2b voip telephony replacement type of deal. It would be trivial to load up on real geographic numbers from anywhere in the world and automate it all for bots.
Well you cannot claim either way. There is still circumstantial evidence for a significant difference in virulence and mortality across the globe, so there might be indeed multiple strains, we just do know about it.
Netlify has strict limits in their TOS on what you are allowed to host there. There’s lots of legal content that you might want to publish that you aren’t allowed to put on Netlify.

Additionally, their uploader CLI is spyware, and their corporate stance on this is that you agreed to their uploader tool spying on you when you created your Netlify account.

They also can’t pull from private git hosting, only the big public ones (which are themselves ethically questionable), which makes using Netlify for builds a bit of an issue if you, for example, self host Gitea or GitLab.

I use a PaaS (sort of a self-hosted Heroku) called CapRover that pulls/builds from a self-hosted Gitea on branch change. It’s a relatively small change to drop a two-stage Dockerfile into an jekyll/hugo repo that does the build in step one then copies only the resulting static files into a totally off the shelf/vanilla nginx container in stage 2 for runtime hosting.

For my main website, I still have cloudflare in front of that.
Really? There's a way to edit confluence pages in emacs? you've made me very happy!

EDIT: https://www.emacswiki.org/emacs/ConfluenceMode
Can you elaborate, please? How do you use latex, images and cross-links in markdown?
I also like monospaced fonts, but using them for articles is a bit unusual. Justifying monospaced fonts seems wrong on some levels, but who am I to judge.

In my browser only the spaces between words get stretched, spaces between letters are not affected.
> you can have the dev interact directly with the webhook when they code

But how? A webhook needs to call a single endpoint (with a dns/ip pair). How can you route incoming webhooks from a 3rd party vendor to every dev machine running the service locally?

Weird people downvoted my previous comment on this, it's a genuine problem with this "DTAP on your machine" setup, isn't it?
yeah, dictatorships and leaders with and autocratic mentality like to downplay disasters. An obviously harmful policy.