skysight-inc/HackerNews huggingface dataset:
If you were going to rewrite OpenSSL, it makes sense to break it into three pieces: ciphers (crypto), protocol, and certificates.

OpenSSL ciphers are generally good, and there's no need to rewrite that.

Certificate and protocol are where most of the tricky bugs would be found.

Protocol is actually not that much code, and a from scratch rewrite that only did TLS 1.2 and 1.3, and only allowed for currently deemed reasonable options wouldn't be too bad to do. Of course, that would eliminate renegotiation, so today's OpenSSL bug wouldn't be possible. I've done a TLS 1.3 client from scratch and it's about a monthish of prototyping, followed by six months to do it right and test and deploy and find bugs and have it audited by a 3rd party and eventually be happy with it. I did the prototyping, another developer did the production code; we did have other developers familiar with TLS to review and assist. I imagine TLS 1.2 would be similar, but having experience from 1.3 would help it along. Server side wouldn't add much, once the session is established everything is the same, it's just having to flip parsing and generating of the handshake pieces.

Certificate/x.509 handling is a beast. I imagine rewriting and testing that would take a long time. You would probably find bugs in other verifiers while you're doing it if you cross test though. You could save a little by limiting to commercially available certificate options and limiting verification modes, but it's still a lot. ASN.1 parsing might be significantly nicer not in C though.
I record little screencasts/demos regularly for embedding them on webpages and currently always convert them with the ffmpeg CLI to WEBM, but it's really cumbersome and hard to remember all the command line flags you need to use (especially with 2 passes). I don't really like online cloud converters though because each video needs to both be uploaded and downloaded again and I'm worried they do a lossy compression on the video behind the scenes. A simple to use, trustworthy, client-based webapp to do this would be amazing.
Does it, though? Socializing at home during work hours is not the same thing as socializing outside of work hours.

Plus, people still work 8+ hours a day, so you can't really interact much with friends.

The main thing you win is geographically, I guess. No more time lost in commute plus maybe less time lost meeting with friends because you don't have to go from the office to the meeting place (though that will obviously depend on how far your friends are from your home).
Array lengths were not limited. 32 was was just an arbitrary limit chosen for trait implementations for arrays as those were generated by macros.
One of the best aspects of CGI is how easily tested a CGI program is. All you have to do is set a couple environment variables and connect your request entity to stdin, expecting things on stdout. What could be better?
I am subscribing to youtube channels through thunderbird. It works well for right now and it makes it easy to either open the url or copy it to youtube-dl or mpv for out of browser watching, but getting the rss url for a named channel is so janky now, and it feels like it works only because nobody has turned it of, like it is one design tweak from being disabled entirely.

Ah well, I will continue subscribing in Thunderbird until whomever keeps RSS alive at youtube (thank you, if you are reading this) moves on to better things.

Then I will watch it sunset just as I did with google music, G+, Google reader and all the rest Google has killed over the years.
I would say terribly so.
I think i can answer that, first of all Julia isnt as fast as C/C++/Nim etc. in most cases Julia is just fast in scientific computing that's all. (there is only one "scientific" benchmark on kostya benchmarks)

Second to write very fast julia u need to knew a lot of "tricks" and in most cases u won't be doing it as easy as writing normal code.

And all people writing this benchmark is measuring compilation time (XD?) or not including jitting time they could just look at code/readme for 5s before commenting.

Julia is fast and can be as fast as C but not in all cases and not as easy at it seems.
i commented about this subject yesterday, i don't think it's a bad idea, but i personally can't imagine living without a car. It wasn't a popular opinion but i still stand by it. Maybe i'm just afraid of change, but i hate the thought of having to rely on public transport. tfl in my experience is a slow, noisy uncomfortable nightmare.

Anecdotally, i remember seeing a prediction from the 1950's about mile high skyscrapers containing fully contained "cities". I'm not sure what happened to those..
You can have the best of both worlds using spacemacs in evil mode. Essentially gives you emacs with a lot of community-selected plugins, but with vim keybindings.

As a vim user, there's just certain tools emacs provides to which there's no vim equivalent (or the vim implementation is lacking). Like org mode for example: I've yet to come across something outside of the emacs ecosystem that does a good job of replicating org mode. Maybe jupyter notebooks come close in some ways, but AFAIK the org mode experience is fairly unique to emacs.
Knex syntax (http://knexjs.org/) is reasonable. It's basically method chaining.
Not "doing it wrong", making a tradeoff.

That's true of software in general. You can use (often older) more stable tech and lose access to some newer features, or you can used the latest and greatest and get a few more features and accept a reduction in stability in exchange.
Side note: Argument limits are being removed in Scala 3.
It's how IBM priced hardware IIRC.
Hello andreagrandi, sorry to hear that, can you access the website now ? It's hosted on AWS with Amplify, I did not received any alerts regarding that.

The only warning I got was a Free-Tier limit alert.
no, those things have never stopped me. What has stopped me is that the default configuration for a Rails app throws intermittent exceptions when I'm trying to save, because concurrent writes fail and Rails (at least as of a couple years ago) does the wrong thing by default
> It's a set of AST nodes.

Ok, but you could make the same point about plain JS as in Svelte. I haven't looked into it too much, but from the readme Solid.js looks more like a compiler than a library, so whatever it outputs when it sees JSX doesn't have much to do with what JSX is usually used for, imo. I've only ever seen it used as syntactic sugar for function calls, be it `React.createElement` or `h` or `jsx`.

> At some point if one jumps the shark, so to speak, and starts making uncomfortable contortions to stay within the confines of "just javascript" and avoid DSLs at all costs, that amounts to leaving a useful tool unused at the table, where it could have been effective.

Personally I find it much more likely that I'll have to bend over backwards when I'm dealing with a DSL rather than just plain code, because the DSL will be really well optimized for one usecase, but has omitted another usecase that I will need at some point, and then I'll have to find some hack to accomodate the DSL rather than just add that one line of code that I could've used if it was just Plain Code.

The downside is that some other things will look kind of awkward and since you're now dealing with a turing-complete language you'll lose analizability, but IMO for UIs those are worth losing if I can just use plain code.
Update on the Netlify Status page [0] -- TLDR anyone experiencing this issue should point their apex domain to 75.2.60.5

---

Full announcement:

Our team have created a new load balancer instance which is not associated with the upstream provider who is currently experiencing issues. Please update A record values for your site(s) bare domain to 75.2.60.5 to mitigate against this outage.

---

Their documentation page [1] now includes the same IP.

[0] https://www.netlifystatus.com/

[1] https://docs.netlify.com/domains-https/custom-domains/config...
> It's been flag-killed (possibly 50cent party? maybe just people disliking my abrasiveness) so this thread won't be seen, but I thought it was an interesting conversation.

That's a shame. I'm not sure if the whole thread is hidden. I got 3 karma points (base 1 + 2 upvotes) for some comments in our thread below your flagged post.

> I think this verges on conspiracy theory - democrats very much care about fixing gerrymandering (among other vote suppression tactics), it's just hard to fix.

They keep very quiet and mild about it. This should be like the most important issue that affects their voters. Their voters were denied what should be theirs (democrats in power), for decades in total at this point.

I don't think it's a conspiracy theory. Nobody conspires if it's a shared understanding that democrats should loose roughly 50% of the time for the good of everybody. It doesn't require any conspiratory action. Just inaction, which is way easier to implement even if not everybody understand that it should be implemented and why.

However, whether they are aware what they are doing or not, they are still doing it (tolerating Gerrymandering to a huge degree). And it has an effect of increased stability.

> I think they want different things (arguably even more revolutionary than the left in some cases), but I don't think they want things to stay the way they used to be.

At the root of republican vs democrat is this divide between orthodoxy and progress. Of course further details are built upon that. Especially since the country, economy and government can't stay in its orthodoxy.

Still, my observation was, why would that divide be roughly 50/50?

>> "And that would mean democrats winning all the time and we can't have that because that would ultimately lead to unrest."
> Or it could lead to a center-right party that's more sane that can get a larger share of the population to vote for them.

On last election a single win by democrats caused some unrest. I think democrats winning for few decades would just radicalize part of republicans and made the other part to withdraw from voting. I'm sure eventual peaceful return to some equilibrium would be possible like with Whigs. But I don't think it would be business as usual and economy likes to have business as usual.

Thank you for this discussion, but I don't want to speculate about future US too much, as I don't have a clear idea what will happen, apart from things staying pretty much the same and US really struggling to accept reality when China overtakes them.
Facebook, Google and Twitter CEOs face disinformation grilling in Congress- live
I’ve also looked for this, does it mean that I have to install julia on the target machine and it’ll recompile when running?

Or are there steps to produce a binary (much like Go or C or Rust)??
Based on a few old mailing list it's apparently only very slightly so, and i'm not dissing emacs, it's just that the people who made lisp os and it's graphical layer really did allow users to augment and interact with most of the system in a very fluid and capable manner. Some examples from that mailing list (thread from the 90s or maybe even 80s) were still not present on a daily basis for code edition / versionning in the 2000s. Makes you wonder
Thanks ! I still have some chapters not published, I will add them later :)
std::array::IntoIter[1] is great. I used to maintain a crate[2] to do this. Of course doing so requires unsafe so I am happy to move that danger into std::

I guess I can deprecate it now!

[1] https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html#array...
[2] https://docs.rs/array_iterator
"Little harm": https://twitter.com/a_straight_line/status/13714925394511831...
Only if by "change" you mean reducing them.
Link user accounts in AWS Cognito
how to link Google/Facebook identities to Cognito Native Email accounts
Sacred dimensional energies and Tesla coils.
For these jobs you have industrial areas outside of the city skirts and good public transportation to/from the city neighbourhoods, good as in: accessible, fast and ubiquitous.

That's how The Netherlands do and I really like their cities.
These are my ...

- computer: https://xn--gckvb8fzb.com/a-nomads-computer/

- command line: https://xn--gckvb8fzb.com/a-nomads-command-line/

- camera: https://xn--gckvb8fzb.com/a-nomads-camera/

- coffee: https://xn--gckvb8fzb.com/a-nomads-coffee/

- digital infrastructure: (soon)

... setups.
It's been downhill for 14 years: https://news.ycombinator.com/item?id=9224
That's good to know. I'm always trying to improve the developer ergonomics. What would you want to see added to make it "setup and forget"?
Aww, thank you, that's nice of you to make an effort to say something here. :) You should check out my portfolio, there's awesome communication there, and great documentation, and thousands of stars.

I like your criticisms, but when you write from what seems to be the point of view where you don't assume that i had good reasons for some of those decisions, you come across as not understanding nor empathizing with me very well, so i wonder how useful your words could be if you don't even get me.

But aside from that, I did really like your criticisms, or some of them, so definitely please keep trying at that, maybe you could offer some ideas for improvement on 22120 and ViewFinderJS. I know it's not your job, but you pointed out a bunch of stuff so far, I just think you could be helpful with a bit more work.

All in all my advice to you is when commenting on show hn make the assumption that the person you're speaking to had very good reasons for making the decisions they did, otherwise it can come across as talking down to, or saying you're so smart and the person you're talking to is not.

And underneath what you're saying i sense a genuine desire to be helpful, so these tips about empathy and framing could definitely help you realize that desire with more useful contributions about others works.

Thank you very much :)
Because that thing was infinitely useful. I was able to read 100+ articles without burning out, got the only things that I wanted to see, filter what I didn't want and was able to track the most interesting sites.

I've skimmed everything in 15 minutes, mark/star/whatever anything with unprecedented speed.

It was the ultimate user-curated feed, without all the cruft of today's feed. It was mine, tailored for me, by me.

...and whole thing was keyboard-drivable.
I've had Ubuntu/Debian/PopOS and Fedora break on me, all of them stable releases. Fedora was the worst.
I wonder how this relates to the "15 minute city" concept discussed in (at least) many European cities like Paris: https://www.bbc.com/worklife/article/20201214-how-15-minute-...

The concepts seem _very_ close, yet there is no reference in the article. Shouldn't these agents align globally, or am I missing some significant differences?
SQLite powers iMessage. Legit. You can use sqlite commands to look through your messages on your macbook.
Show HN: Stricks – managed C strings library
Dear HN,

I fell in love with C, but strings stand between us. So I made this lib.

It's certainly more experimental than 'industrial strength', but I learned a great deal and intend to make it a solid useful tool.

In the mean time, quite thorough unit tests ensure we don't go astray.

Also, I tried to produce the cleanest code I could, to please the reader.

A few questions :

0- Is my header layout foolproof and portable ?

1- Would it be a sound idea to return a static zero-valued item than NULL ?

2- Once completely tooled and tested, could I pretend to double-license the lib with a commercial part ?
Right now the focus is on public/prod deployment. Beta Testing is a step within Runway, but it's not so fleshed out and no integrations are pulled in there yet. It's definitely on our roadmap though - we want to help teams codify and streamline their internal distribution!
Any UK resident can obtain license to operate private or community LTE network
Well you'd come upon it sooner if you used alternativeto.net, which is pretty good among software listings.
It's interesting to see him at a point when he's still figuring out his style and way of speaking. Most of the answers that he gives sound like stuff that he's clearly said before in different context. As if he has a prepared list of analogies and references that he reaches for every time instead of genuinely answering the question. At the time of the video he's still learning how to do this and it seems very different from the sharp Jobs from later years.
Heroku Dashboard and CLI is facing issues
I was about to post the same. Pragmatically a collective company that could help carry the administrative work with open source projects would be interesting. Project with a nominal GPLv3 license while allowing paid relaxation of the terms (GPLv2 or commercial, etc) could bring in some revenue.
The World Has Changed – Why Haven’t Database Designs?
Based on the comment from bobfunk, it seems they do have a backup plan but not all customers use a configuration which takes advantage of it.
ReacType 6.0: A collaborative React prototyping tool
They admit it's an apples-oranges comparison, so why do it?

I mean, isn't Fauna more directly comparable to Dynamo than Aurora?
> It isn't clear what makes bundling a chat program into your SCM beneficial. ... you can just use regular URLs in any old chat app.

You just answered your own question: trying to get any given group of people to use the same 3rd-party chat platform, especially one hosted by Big Megacorp (and aren't they all nowadays?), is like herding cats. Every developer on a fossil project already has an account they can use, not hosted by Big Megacorp, which they can chat over (provided the project admin permits it - they are not required to give devs chat access).

i admit that i had several reservations when Richard proposed /chat on the fossil mailing list, but i'm a 100% convert, and now use it 24/7 on two projects and get tremendous value from it.

(Disclaimer: i wrote the /chat front-end, so am inherently biased, but i'm biased towards it because it's useful, low/zero-maintenance, and low-friction, not because i've invested many hours into its development.)
gccemacs works remarkably fine for such a big change, it does bite my poor x201 hard on the compiling phase (we're now as modern as lein clojure bootstrap :cough:) but it does bring speed improvements already.
Wealth taxes, social safety nets, high quality education, programmes to combat anti-educational aspects of different cultures
I think the worst part is while it is easy to see how this came to be, I don't know how you put it back. It's like saying how do you unburn down a forest. You can't put it back together. One shop opening in the otherwise empty commercial corridor on main street is going to look failing and close down with the rest of the block remaining vacant. Local planners then turn to razing historic commercial blocks to turn them into some cookie cutter chain since no one local has any capital anymore to start a business.
> That's not true of the overwhelming majority of Substack writers

The majority, then, are writers who can't get a job in paid media - either because they're not good enough, or there aren't enough paid slots available to accommodate them.

IOW, Substack is the 2020s version of Blogger, except that it has a payment/compensation system built in.

As with "content producers" on YouTube, "influencers" on InstaGram, etc, there is vastly more supply than there is demand or available compensation.

I'm not saying that there aren't good, original voices on Substack. I'm saying that the vast majority of writers on the platform are categorically similar to, and subject to the same system constraints as, other media/attention platforms.
It will be interesting to see if Apple bumps up the specs on the machines. Currently, the maximum you can get is 16gb of RAM and 8c CPU on the Mac mini.
It took a month to teach angular and a year to become proficient. Knockout or backbone + handlebars were similarly large commitments. React took a day or two to learn and less than a a month to completely master.

I also hear about “react doesn’t have one way of doing thing’s built in”, but it wouldn’t have been as successful if it had. It ate up other frameworks because it was so easy to integrate.

Need more performance in your angular app? Just add an ng-react component. Have an extensive backbone project? You can just gradually swap in react to replace your mustache templates and leave backbone alone. Have a jQuery widget that’s getting hard to maintain? Change to React and the rest of the page renders on the server like it always did.

And of course, you could greenfield with flux, rxJS, or whatever other thing worked for your company. But if they hadn’t been flexible from the start, there wouldn’t have been room to create and test things like reactive programming, redux, mobx , etc
Spend a ton of hours getting google certificates as part of a program that will be cut within the next year or two with little notice or empathy towards folks that have put time into it.
Take my answer with a grain of salt because I have much more experience with vim and I have used emacs only off and on for a couple years, and I only use it as an "IDE" of sorts.

So, how I experience them, they aren't exactly competitors in a direct sense.

When I use vim in the terminal, I treat my workflow in a particular way. I use tmux to have windows for multiple projects (usually I run 2 or more microservices in my day to day). I use TUIs like lazygit, and I rely heavily on command line tools to build, compile, and do most of the daily things. I am familiar with those and it's basically like the whole terminal is my IDE in some ways. For note taking and idea management, I use vimwiki within vim.

Using Emacs is different for everyone's specific use cases, but the way I have tried to use it as an IDE for golang, node, and some react. Emacs seems to prefer integrating your workflow INTO emacs rather than just having emacs be a single part of your workflow. (I'm simplifying too much, I think)

Evil mode gives me literally every single vim command I ever have used in my entire life. I am a heavy vim user, but I am not an extreme power user. I use macros, regex, and other simple vim stuff. All of it is perfectly fine in evil mode as I use it. But feature parity isn't a great reason to switch from vim IMO.

-The first thing that really is a huge improvement is org mode to capture anything in the code I am looking at that I don't have time to address. Like capturing a weird piece of code or something that might have a bug state, org capture, make a note of it and I can come right back to it later when I have free time.

- Everyone touts magit. I love magit, BUT if I'm being honest with myself, lazygit is nearly just as good...and if you've been using git commands fine for any amount of time, it's more of a nicety than a MUST have. I don't view magit as "the killer app" that other do, but I admit that I really like it and use it heavily whenever I use emacs.

- Elisp is amazing compared to vimscript. That's pretty much that whole bullet point.

There are more things, but it might depend on your personal workflow and the kind of work you do.

I recommend dipping your toes in using DOOM emacs (or spacemacs, but I didn't like that one as much) and getting a feel for emacs. You might find that you like it, you might find that you prefer your current vim & terminal based workflow better.

I'm somewhere between the worlds. I really keep coming back to emacs because of
1) Org mode
2) Csv mode (Sounds silly, but I do a LOT of csv parsing in my life)
3) elisp hacking & scratch mode.
WSL Wayland support in latest Windows Insider builds
Another thread I posted a little bit about how we are compared to glacier: https://news.ycombinator.com/item?id=26582429

Glacier can get pricey when you store/retrieve your data because of ops, retrieval fees, and egress (if going to the internet). We feel like immediate availability is a compelling advantage of our product.