skysight-inc/HackerNews huggingface dataset:
It would only be practical to do this for very commonly used AMIs that AWS create and provision themselves. Commonly used because you don't want unused AMIs languishing in the instance pool long term. Only their own, because these AMIs are heavily manipulated and then customised for the user so you have to be positive the AMI is compatible with the manipulations.

I wonder if Azure does something similar.
Pretty tone-deaf in an 'analysis' piece not to mention the rights they are taking from farmers, and the struggle to regain them.

(Edit: If not for the sake of telling the whole story, then at least as a commercial / competitive factor.)
>.. using for self-hosted analytics?

ELK (Elasticsearch with Kibana). Pretty powerful and AWS recently forked free Elasticsearch.
Show HN: TypeWriter – A small JavaScript library to expressively render text
> Then you dont get freedom of speech

Does Australia have an enumerated right to free speech? I thought that remains a somewhat novel feature of the American Constitution. (Owing--in large part--to our culture.)
One example would be SharePoint, which has shifted fundamentally from full trust farm solutions over to client side SPFx solutions running through APIs due to Office 365.

Another example would be UWP, which has pretty robust JavaScript support, meaning someone could switch from C#/XAML over to a JS app that more closely matches the web front ends of their site.

And really Angular is a pretty simple leap for anyone familiar with ASP.NET MVC.
Why do you keep reading the articles?
art is a hobby
Ask HN: Why don't recruiters share detailed feedback on interviews?
When candidates take hours to complete their take home assignment while interviewing, why don't recruiters and reviewers spend like 5-10 mins for a candidate sending a constructive feedback rather a lame rejection or not a strong solution email?

PS: Based on my personal experience, please excuse me if i'm the outlier.
But isn't it possible to offset fines with insurance and get insurance payments tax deducted?
Do you have a link? I'd like to see how yours compares with OPs
ISPs sell internet access, if you believe this website is infringing some of your local laws, you should start a procedure in your own country, it's not the role of an ISP to filter websites by their own initiative.
What's the difference between an entangled state and a mixed state?
Converging everything towards the median (google results) is not machine learning, and is making search results and the internet far worse.

Speech recognition on my phone hasn't improved much since Dragon in the 90s. I'd argue the tech today is worse because it never works without a network connection, so it basically never works unless you're in a big city.

Google translate is a running joke. I don't think that I'm allowed to comment further on Google's use of machine learning without violating NDAs, but manually fiddling with weights until you get the magic number you want is not machine learning.

Again, not really seeing any benefit. Lots of hype though.
You can register handler like this in Drogon:

drogon::app.registerHttpMethod("/test",
[=](const HttpRequestPtr& req,
const std::function<void (const HttpResponsePtr &)> & callback)
{
Json::Value json;
json["result"]="ok";
auto resp=HttpResponse::newHttpJsonResponse(json);
callback(resp);
},
{Get,"LoginFilter"});

The method in the readme file is for decoupling. Imagine a scene with dozens of path handlers. Isn't it better to disperse them in their respective classes?

Of course, for very simple logic, the interface you are talking about is really more intuitive, I will consider adding such an interface. Thank you for your comment.
You're right, but it is easy to do by accident. Log a stacktrace that includes some function arguments, and one of them is the password...

Now, it's possible to avoid this, but it's hard to avoid this completely in a complicated system.
There has to be a custom deal in place, but it could be similar in spirit to a hot standby MS SQL Server instance where you only pay for one license but have a mirror of the machine ready to go if the first one goes down (my knowledge of licensing was only tangential to my dev work and could be several years out of date now).
Excellent Reddit post on the nature of the California housing crisis
> A huge Ruby backend application becomes quite difficult to reason without a good type system. It's not impossible, just more difficult than say Scala or Haskell or Rust, that have very strong static types.

It also becomes difficult to refactor if you don't have a very good test suite. From personal experience, refactoring an Elm application is way way easier and more error-free than refactoring a Rails app.
Apprenticeship should be better. Bootcamps later ask to build prototypes using the framework you learned. In my opinion tt's more satisfying working on a real product together with others than yet another prototype. If you're enrolled in a part-time course you've shown that you have the motivation/dedication to catch up on any CS theory/books if needed.
100% agree with needing to own your own care. I have had an illness most of my life and learned this the hard way. For my new startup, I'm trying to address this head on - building an app that connects people dealing with chronic illnesses. Looks like you are also a YC alum. Wanna chat?
To be fair, Rails now makes it much easier to swap libraries if you need to, compared to how it was at the beginning. I agree that that's something useful, but personally I still think that having a sane reference combination to start from is much better than having to choose everything yourself.

Especially in the JS world, I could really feel a "library fatigue" when I had to evaluate so many different alternatives.
I understand what you are saying. But why do you need to use http 1.1 behind the proxy for this setup? Why can't you use http 2 both behind and in front of the reverse proxy, but still demux into multiple connections at the proxy? Just because http 2 supports multiplexing, doesn't mean that you need to use it.
Interesting... Are the commercial flight simulators using an actual physics / aerodynamic model with all the components -- or just empirical data and lookup tables / expectations? I suppose in the latter case, behavior is more likely to deviate from reality?

https://en.wikipedia.org/wiki/X-Plane_(simulator)#Flight_mod...
Ready-to-use 3D e-commerce website (WebGL)
I’m not seeing support for irregular cycles - in all these libs you can customise the 10^3 separator and the decimal mark, but the problem in India is that the separators follow a 10^3,10^2,10^2 repeating separator cycle.
Will definitely need to check this out.

I come from the mobile world, and my experience is, from myself and others, that cross-platform solutions always brought more pain than joy.

The latter solutions were great in theory, but created huge problems, when a little bit of a custom behaviour had to be implemented, maybe dependent on the target platform.

Also, when developing natively, there seems to be much more usable open-source code.
I’ve never understood the pro-tax argument. It’s theft, no?

The answer is yes. To both. And theft is ok sometimes.
Your comment reminded me of the concept of being a “Third Culture Kid” and makes me realize how much I just I take for granted about my experience growing up in just one culture.

https://en.m.wikipedia.org/wiki/Third_culture_kid
The US generally has sustainable fishing and farmed-fishing laws and monitor catches and stocks. I don't know if there is a law that tracks nets per boat, but maybe there should be. Regardless, if you keep track of where your fish comes from (US wild caught and US farm-raised [farmed excluding salmon because they eat more protein than they produce]), then you (as far as I know) are not contributing to these problems. Buying fish exported from countries lacking oversight is the real problem.

https://www.seafoodwatch.org/
That's a fine ad hominem, but you offer no rebuttal to my points. Perhaps you could share with us the main points the book makes instead?
HP built a better version of the Oculus Rift
An estimated 100k homes are sitting empty in the San Francisco metro area
I find the chans interesting. The back and forth between the clans, whoever they represent, mixed with some curious independent posters gives a small picture of what's lurking out there in the darkness. In the private minds. Mostly it's role playing I think.
It's only in parts recent. Updating Firefox did not have this enforcing message telling you to restart, but before Firefox would just randomly break when updated via the package manager. Preventing that is better now.

Don't do automatic updates if you do not want automatic updates. Automatic updates just absolutely can cause you to have to restart stuff, depending on what got updated exactly.
The width and height of an image set in a CSS file can be in any valid CSS unit. That's pixels, or em, or a percentage, or viewport units (vw and vh for 1% of the width or height, vmin or vmax for 1% of the shortest or longest side), or real world units like mm (only works on high DPI screens). Support varies.

Eg setting an image to be "width: 100vw; height: 100vh;" means it'll be squished to fill the user's viewport. "width: 100vw; height: auto;" will fill the viewport horizontally and scale the image vertically as per it's aspect ratio. And so on. Generally that'll look bad though because browsers scale things fast rather than well.

And then there's the options for background images. "background-size: cover" is quite useful.

CSS is fun.
At least there's no shortage of implementations to reference.
The author took a bit of a pot shot at NodeJS (which I do understand why). But I think it's a bit naive to think NodeJS is any more complicated of a stack or problematic as a whole than Ruby -- it's simply not. As someone that's moved between many different stacks, once you're in that stack and being productive, you tend to realize "oh, this is why this is a good stack." From the outside, if you've never used the stack professionally, you tend to get skeptical.

But for me these days, there's very little difference between stacks as to "what's better". For me it's mainly "best tool for the job and who are are your carpenters?"

But these days, NodeJS seems to be the right choice for many of these jobs and it's hard to sit here and knock it. Why?

Unfortunately, Rails suffers from what a lot of other Web stacks suffer from -- the browser requires some level of JavaScript marshalling that all the other stacks have transform to. When you can code on the server and on the client in terms of the same language. It just makes the process cleaner and far more manageable. When an object on the server is the same as the one on the client. Your life just becomes a little less stressful.

And I love other stacks. I'm a Python fan.

But It's really hard to not embrace NodeJS when you've got developers who work on the frontend (Maybe in React, Vue, etc.) and server developers who are on NodeJS and they can speak together, moreover, work within each others codebase and not kill each other.

That doesn't mean Ruby is a bad stack, it just means like all the other stacks, you have to move data between the backend and browser and it's "Oh, I need this change on the server, I'll have to wait for..." -- no, you can do that, if you've got the ability to code in JS, and you're a fullstacker, you can do both.
I honestly haven't seen many "groups" move from JS to Go. I've seen individuals do it, but not a ton of "organizations" make that kind of move.

I've seen a LOT more go from Python to Go, and a few go from Java to Go.

Do you have any examples or places that have written about a switch from JS to Go? I'd be super interested in reading their experiences!
Good point; I had forgotten his INTERPOL arrest call. But it's still worth observing that the US didn't invest in a Seal Team deployment to take down an INTERPOL fugitive.
Not sure why you're downvoted. It's a real problem. It would help if it would be possible to set an aspect ratio on the img tag, so that when it's scaled via CSS or whatever, it would maintain the aspect ratio of the loaded image despite it not being loaded yet.
> And why not go for a pure SPA rather than an AJAX-sprinkled compromise between a traditional server-side rendered html app and a SPA?

Not every app needs to be or should be a SPA. IMHO, unless you're creating an actual web application like Pivotal Tracker or Google Docs or etc, then maybe you should go with meat and potatoes server-side rendered html and javascript.
Just wanted to say that I always enjoy seeing a t3x.org link pop up on the front page of HN. Your site is one of the few "regulars" that I always enjoy seeing a new update from; your projects are always interesting and I can usually learn something new just by perusing the manual and looking at the code to discern how a feature was implemented.
One of the authors here. While the study schedule is regulated by algorithm, the questions themselves were hand written. We have found it’s quite difficult to write good questions, needs lots of revision and thought. Glad you enjoyed!
As soon as I can I will invest all my money in companies productizing therapeutic psychedelics...
How I wrote a technical book in under 200 hours
Keurig and InBev move forward with at-home cocktail maker
Superbugs have colonized the ISS–but there's a silver lining
That does not really explain why it would be more stable, or did I miss it?
The Commoners App
The cookie law actually was meant to solve the opt-in consent problem of user tracking that GDPR now solves with much stronger rules -- unfortunately the cookie law was vague enough that websites figured out that the cookie pop-up was sufficient to get around the law.

So really, users should be angry with websites for intentionally working around the spirit of the cookie law (and creating the annoying pop-up which basically requires you to consent to cookie tracking if you want to continue to use the website). The EU's mistake was not making the cookie law far more strict.
I also work on a Rails system. It does the job and the nice part about it is whenever I need to make tweaks I can easily dive into the code and implement said feature quite quickly. There are a few services I wrote that have a bit of overhead but that's my fault - these typically go untouched as they are part of the backbone. I run this system on two different instances and I will say the difference between a few thousand records and a few million records is noticeable. There isn't any memory leaks that I could detect or n + 1 queries, so I've kind of thrown my hands up. Most importantly though, it's been super reliable. I'll take the slight delay for robustness.

Recently I went the other way and built something with Flask because I felt I only needed something tiny (plus python and ruby are both friendly to read) and kept hearing the negatives about monoliths. It started out refreshing because I only added in what I needed but eventually this started to get a bit annoying as it grew, I felt I was rewriting the wheel often, and I missed the organization and forced convention of Rails. Not to mention gems seemed to have more support and often were more recently updated compared to flask imports. I now want to convert this over to a Rails application.

I think a lot goes into picking what to use, size of team, size of users being served, verasility, and development productivity. It's not always only performance at massive scale (you may never need to handle the traffic Twitter does and if you do I think you're doing pretty well and can weather that storm).
That is correct. A decent method of side-stepping ISP DNS is to run Unbound DNS on your home router or a server in your home, if you can.

An example snippet from the configuration in Unbound DNS would look like this:

forward-zone:
name: "."
forward-addr: 1.1.1.1 # CloudFlare
forward-addr: 1.0.0.1 # CloudFlare
forward-addr: 8.8.8.8 # Google
forward-addr: 8.8.4.4 # Google
forward-addr: 208.67.222.222 # OpenDNS
forward-first: no

And you can view it's status with unbound-control:

unbound-control dump_infra | grep 1\.1\.1
1.1.1.1 . ttl 1745 ping 0 var 71 rtt 284 rto 284 tA 0 tAAAA 0 tother 0 ednsknown 1 edns 0 delay 0 lame dnssec 0 rec 0 A 0 other 0

This method of caching can also slightly improve the privacy of the people using your network. You get the bonus of a local low latency cache, and requests are distributed among multiple destinations, slightly reducing the marketing benefits of running those public DNS servers.

You can also enable TCP and TLS for recursive servers that support DoT (DNS over TLS). I prefer this over DoH, as everything in your home can benefit from it, not just your browser. Some of the servers mentioned above listen on TCP 853 for TLS. Just google "Unbound DNS TLS" There are some examples on Calomel as well. [1]

[1] - https://calomel.org/unbound_dns.html
This looks like a precursor of LLVM IR.
There are people who like the Javascript design. Compared with it's peers like Python & Ruby, javascript is more functional & "lispy". It's faster, and non-blocking I/O is the default. Closures are cleaner. Some people prefer prototypical inheritance compared to classical inheritance.
So, the minimum running time for this would be O(1), but can one estimate the maximum? I don't see how, but maybe I'm missing something.
I run a bootstrapped desktop productivity software business myself. I'd say the split is somewhere around 70% Windows and 30% Mac (all self-marketing, no app stores). The mobile rush created a huge vacuum in the desktop market that I think enabled people like me to succeed. Not to mention, you're not giving a 30% cut to Apple or Google and can generally charge more than a few dollars for your app.

It's definitely easier for me to develop on Windows. Though, this is mainly because XCode performance is atrocious on my mac mini and packaging apps for outside the app store is pretty tedious. I still use a buggy tool that Apple hides very deeply on their developer portal (it involves installing an ancient version of XCode).

If you require a UI that is pretty heavy, here is my "secret" trick to save time when developing for both Windows and macOS:

1) Buy a basic HTML template online for your app's dashboard.

2) Don't use Electon. Your users WILL notice and complain about performance. Instead, use the native WebBrowser control in .NET for Windows and WebView using macOS to display your UI. Disable right clicking and highlighting using HTML/JS. To the user, it'll feel like any other native app. Add this meta tag to the HTML file to ensure the WebBrowser control knows to use new versions of IE to render the UI: <meta http-equiv="x-ua-compatible" content="ie=edge">

3) Use the built in script calling functions to transfer settings back and forth between the UI and main app in JSON. Do the back end stuff in native code.

4) You can then re-use most of the UI code you wrote to easily port over to macOS. Use the same functions and logic you wrote on Windows to make your Swift functions.

Good luck!
Supporting knee-jerk censorship should never be supported as "understandable". The fact one could consider this understandable is concerning itself.
I think the hardest thing for folks is actually arguing that speech X, Y, and Z are hateful, because all people of every political background who log online seem to want to do is legislate others into silence or post innuendo and memes about people's character behind their backs.

There's an essay I found pretty unique, "Reflections on Debating The Right" on Current Affairs, explaining why much more public debates would be helpful... of course, that website could well be blocked soon in Australia for their articles on Palestine, given the precedents now set!
It would be nice if we could have a ratio rule in CSS for all block elements, so adjusting one dimension would automatically alter the other, preserving the ratio at all screen sizes. e.g.:

width: 2000px;
max-width: 100%;
ratio: 16/9;

Of course this gets tricky when width and height are both specified and they don't match the given ratio, but that just means that one needs to always override the other.

Edit to add: Or maybe it would be better to just have the ability to lock the ratio, such as:

ratio: fixed;
Is it just me or doesn't this seem like a terrible idea? It's wasteful, expensive, limiting, and overly complicated. The pods will only contain tiny amounts of alcohol, too.
It took 14 days to get it functionally-complete, where I could beat Mario using savestates.

The PPU took 7 days, the CPU took 5 days, the APU took 1 day, and there's a spare day for everything else.

The CPU was easy to make: Its natural unit of output is a single CPU instruction. Even if there are many details, it's a straightforward process to compare an instruction-by-instruction log with a reference log until there are no differences.

The PPU was harder because the natural unit of output is an entire frame: It's not any easier to get the first pixel correct, than to get them all correct. So almost everything needs to be in place before you can validate its output.
The first major version of TypeScript was basically "C# in JS clothing". It made the migration from C# SUPER easy for many that were used to the C# way of doing things.

Then throw in that many C# devs already had to know some JS for doing web applications in .Net, and you have both the motivation and the stepping stones in place to make it an easy transition.
> > starting from scratch or from a minimal base is massively slower
> This isn't the better alternative to frameworks.

I was specifically answering to the remark from the what was at the time the top comment, saying that starting from Rack is the best approach.
Right and that is a subtle notion. You may not need that level of encapsulation the same day you are programming it, but as the system grows it gives you benefits in maintainability including observability. That may be why benefits of Object Orientation may not be so obvious to understand on first look, you need to consider the future evolution of the system. We need to see the forest from the trees.
I maxed out the CPU and got a lot of RAM, I assumed the drive would have enough cache that I wouldn't notice the spindle aspect.
Wow, that is how I've wanted to answer the "on a scale of 1-10, how would you rate your XYZ skills".

I really wish more people had some benchmark for the numbers they throw out there.
Instagram launches shopping checkout, charging sellers a fee
"I get freedom of speech, but I don't believe that people should actually have it."
Let me step back a tad and comment on your use case, i.e. needing to be reminded to work and not procrastinate. I largely solved this problem by adopting the Pomodoro technique. Following it, I subdivide my work time into periods of concentrated work (20mn in my case) and relaxation (3-5mn). This increases my effective work stamina very much, helps with motivation, and has other benefits. Related literature is plentiful.
The Case for Investigating Facebook
Heh, thanks. I was going for useful, didn’t think currency formatting would invoke amazement.
Some stats from Who is Hiring March 2019:
Number of occurrences of the words:
Rails - 25
Elixir - 13
Python - 76
Ruby - 29
Django - 20
>It's bound to generate a ton of support cases, I wonder how they will handle that.

They would have to try hard to be worse than Xbox Live Support. Customer service is dead for most consumer electronics.
Mot likely it had to do with your state of mind/life, and luck. sa you said yourself:

> Truthfully, I found quitting smoking pretty easy because deep down I wanted to quit.

Sugar isn't more addictive than tobacco; but it is less regulated so there are more nudges and its easier to access.