skysight-inc/HackerNews huggingface dataset:
I’ve hated dynamic typed scripting languages for over two decades and could never understand why anyone could possibly advocate for them. But, I was “forced” to learn Python within the last year and it was also my first time doing any type of automation, mostly with AWS. Before then, I only did “real programming”.

I have to admit for short programs without a lot of business logic where you are just providing a little glue - ie every time a csv file hits S3 run this lambda that executes a sql script to import it into a Redshift (OLAP) database, transform it with some queries, export the results back into S3, import it into Aurora (Mysql) and then load it into this appropriate tables - Python is my go to language out of the three “approved” languages (c# and JS being the other two).

I still don’t know why I like Python but hated Perl and PHP. But, I do know why and when I reach for Python over C#.

- when I know that more than one developer won’t be working on the same code and you don’t need the benefit of strong typing to help ensure that changing the signature one place won’t effect code somewhere else.

- Little conditional business logic. When you can easily gain complete code coverage just by running the script.

- small program that I can easily reason about.

- in the case of AWS and lambda, you can edit and test code right in the browser for both Python and JS. If you don’t need anything but the AWS SDK (Boto3), there is nothing to package. Once you get your code right, you copy and paste your code from the AWS consuls, export your configuration as a CloudFormation snippet and create your CI/CD pipeline.

It’s also easier to debug directly on the server without having to either have a compiler on the server or trying to set up remote debugging.

Until about a month ago, I had only written a REST API in C#. I wrote my first service in Node/Express just because I wanted to be one of the cool kids. I hated every second of not having a strongly typed language especially with my JSON objects. The tooling by definition can’t be as good especially for refactoring. Yeah I know about Typescript and I’ve played with it. I didn’t want to go down that rabbit hole and try to get buy in from the company.

On a side note. I’ve used Mongo before but only with C#. With the C# Mongo LINQ driver, you are working with strongly typed collections and strongly typed LINQ queries. I can’t imagine the hellish landscape of using a weakly typed language and a weakly typed data store.
They stand for Single Page Application (client side) and Server Side Rendering (which makes a JS app render more like a normal server side page for the client) respectively.
looks like you're right - my mistake.
Does anybody know how negative?

personally would have rather seen them priced at a value it could be bulk ordered. As many others pointed out, they are neat to build multi node projects or prototypes of doodles with.
There alot of those "are they necessary?" prefixes around. But isn't "ver" the same as "for", which I imagine is the same as "pro" from latin. Meaning either "before" or "causing" or "facilitating" or similar.
Now all that's missing is a huge pharma company buying a tech startup for revolutionary prosthetics and selling both prosthetics and drugs like inkjet printers and cartridges.
Intrigued by how this works days or weeks before (except in the case of an aircraft swap being known in advance) given that the extent to which passengers will turn up in numbers greater than originally estimated is generally only known at check in stage, probably <24h before departure.

Still, even communication on the morning of the flight beats finding out at the airport (Gold standard for poor service goes to airBerlin, who somehow managed not to inform me that they'd actually cancelled my entire flight days before until I turned up for it in Greece with a handful of other bemused holidaymakers, most of whom unlike me hadn't booked direct. I'd have accepted a much less expensive and more flexible date for an alternative flight though.)
react templating language is better than Django templates
single-page-app, server-side-rendering
See also https://en.wikipedia.org/wiki/Internet_kill_switch
Or you might have a load of methods that actually throw 'Not Implemented' errors because you are forced to match a massive interface but it only has to do one thing (yes, C# has an actual NotImplemented exception because this is so common).

That’s where the “I” in SOLID comes in.
Quasar Framework with VueJS
The comparison to the Apple Store (just downstairs from the Pi store …) is both apt and misleading: Apple Stores are all shiny but in essence it’s a sales room. the Pi store, by contrast, has the potential of becoming a place to geek out, to learn something new¹, and to mingle. Let’s see whether this will actually happen. As somebody else said, with luck it might become a modern version of Maplin/RadioShack.

¹ I’m aware that Apple Stores also offer courses but as far as I understand these are more along the lines of “Here’s how to send emails” rather than “You’ll learn something cool about computers”. Both have their place, but they’re quite different in spirit.
European VR startups to look out for in 2019 and beyond
As a newbie to clojure, I’m very curious to see what a large codebase looks and feels like. The clojure attitude seems to be that types come at the cost of reduced code reuse, which I tend to agree with. After a decade spent in strongly-typed OO, it is starting to feel like a bunch of sound and fury which seems to end up eventually just getting in my way. I’m definitely open to new ideas in this area, and am looking forward to taking a deeper dive into clojure this year.
For the Orange Pi Zero, you can just download an Armbian SD card image much like you would with Raspbian - except that unlike Raspbian, everything but the kernel and bootloader is just stock Debian and receives updates straight from Debian. (In theory the next upcoming Debian release should work stock out-the-box, but it's a lot less user-friendly to get working.)
I call BS on "2x to 3x extra time". I started out writing Javascript and then switched to Typescript. I ended up writing code faster!
cd –, a shell feature I didn't know about
Recently, someone submitted a pull request to one of my projects, which included a shell feature, i always wanted to have, but didn't know it exists. The project includes a little build script, which changes the directory, executes some commands and then changes back to the original directory, where it came from.

To achieve this, i used the "pushd" and "popd" command, which unfortunately seems not to be available on every POSIX platform. So, as an alternative, the pull request included:

cd -

which i never came across and which surprisingly (at least for me) did the same thing... Further research lead me to following information:

"cd -" expands the "-" to $OLDPWD, which, as the name intends, points to the directory visited before. Using this variable results in a history size of 1, so you can only switch between the last and the current directory, but in most cases, that should be enough.

Then I immediately thought of a problem... how to change to a directory named "-"? Well, heres the answer:

cd ./-

Now that I know about it, I use it nearly every day.

Have fun!
The fact that new information is available now that when the Referendum took place is incontestable. In the light of this, not voting again is the anti-democratic option, from where I stand.
> 1-line Perl programs are looking at this comment with approval.

1-line Perl programs are far from being representative of real systems and generally only exists for code golfing.
But london also won't benefit from the relaxed regulation so why shouldn't they just wait it out?
Whatever sewage is running electronic voting machines and vote tabulators.
A real world non-OO game software architecture
Linux 5.0-rc6 Released – Still on Track for a Normal Release
1 vote out of 28 doesn't matter.
Just about every other board out there is just as plug and play as the RPI.

I'm not saying that to downplay the RPI - the community it has around it is great, but long gone are the days of trying to get Linux running on a random arm board. And I should know, I have over 100 different arm machines at my place.
> Or don't use RSA, if you have an entirely brand new system, why not pick something more modern that has smaller keys and good CPU performance?

If you have (international) standards to adhere to, you are out of luck most of the time since they specify the exact schemes and cryptography required to adhere to the standard. Adoption of encryption/signature schemes is slow at best unfortunately.

If you do not; go wild. If you like big keys, get some 'quantum proof' public cryptography while you are at it.
Obligatory reference to Isaac Arthur's youtube channel where you often see this artwork

https://www.youtube.com/channel/UCZFipeZtQM5CKUjx6grh54g
Seriously Intel is already struggling after buying Nervana.

I went to their shing dig and they were working their butt off to wow the developers who were invited. When I asked for hard number they were very mum about that and very evasive.

The timeline for Nervana chip have been always seemingly in this mystical horizon that is never solidified to a real date but over yonder.

Google is going to pull this crap? They got better software expertise than Intel though they may be able to do it. But after that fiasco with Angular 1 to 2 I wouldn't trust Google with any early version number.
In the way that Jekyll and Rails overlap?
The number of 50-80 million comes from the book "Black Book of Communism", which in itself is highly controversial and whose co-authors disassociated themselves from the author due to the methodology used.

So take these numbers with grain of salt and consider the book and its claim just a propaganda tool.
I’m just started to get into Python and I generally don’t see the point of ORMs since they really don’t add much in my opinion. I’m really curious about Why you like the ORM for Python.

The only ORMs I’ve ever found useful are those based on LINQ because LINQ makes any ORM (and whatever you call the Mongo LINQ driver) first class citizen and it integrates into the language.
Fewer do-it-yourself options with the demise of Radio Shack. In my town MictoCenter fills the gap with Raspberry Pi kits, Arduino and components.
My impression is that DDG requires a slightly different choice of keywords. But you'll get used to it and in my experience it currently delivers better results than Google.

When I started using DuckDuckGo I often switched to Google for certain queries, now I do that very rarely because Google's results get more disappointing every year.
I've noticed my partner when speaking in her dialect uses "uh"/"ah" a lot - which sounds pretty much like "huh" and even without understanding most of the words it's pretty clear this is the meaning in a conversation.

I think this sound is probably more common in languages that lack a collection of more elaborate and synonymously used words for this purpose such as in English with ["what", "pardon", "sorry", "excuse me"]. Perhaps English is actually the outlier here.
(I answered this in the other thread, but thought I'd crosspost here too)

It can be a tricky one, but fundamentally the _reason_ why change isn't happening needs to be understood. A company full of smart people is unlikely to _never_ want change for any reason - especially if that change would clearly make everyone's life easier. But maybe everyone is overloaded with work and a bit burnt out, so 'big' change is scary to them? Or perhaps the 'important change' really isn't that important? I've worked with devs before who have spoken for hours a day on the need to change x, y and z, when in reality it wasn't fully needed (and/or their suggestions stemmed from misunderstandings).

I guess my latter point there relates to the fact that there's not always a single "right way" of doing something.

Now I know that this might sound like I'm the same as the people shooting down your suggestions in your linked 'Ask HN' thread. Trust me, I'm not like that: I left my previous job a few months ago for the exact same reasons that you have outlined (i.e. there was clear change that was needed, but the 'powers that be' weren't willing to make those changes).

But to circle back to your question: assuming there aren't massive organizational problems at a company, change usually needs to be made slowly-but-surely with the buy-in of any previous 'change blockers' (where possible). Anyone trying to force through lots of change in a short period of time will usually struggle.

If even minor change is not possible, there's two main possibilities:

1) You're wrong about the change, and you might be the problem.

2) You're right about the change, the company is dysfunctional, and moving to a new job is the answer.

From your linked thread, (2) does sound like the situation in your case (fortunately/unfortunately).
PUBG PS4 Has Now Suicide Squad Skins: Read How to Grab It?
The saying goes Britain won the battle but lost the war.
SPA = Single Page App
SSR = Server Side Rendered

SPAs run in the browser, therefore they must be written in JavaScript (or something that compiles to it.)

SPAs have the drawback of having to load a bunch of JavaScript before rendering anything, so the initial page load tends to be slow. Next.js gets around this by performing SSR for the initial page view, and then you're already looking at that page while all of the JS loads to render subsequent pages.
The Factory Method Pattern and Its Implementation in Python
In Malayalam its "manasilayo" - manas + aayo which means "did you understand?". Manas means mind in Sanskrit. Which forms the base of most Indian languages.
Romance languages are hardly mutually intelligible with latin...

So yes, latin pretty much died out as a language in the strict sense.
I’m not sure. A newbie experiencing a truly interactive REPL-style environment might be way faster than being stuck in an edit-compile-debug loop.
Alzheimers in the US is growing at alarming rates

Is occurrence increasing alarmingly, or is it just being more properly diagnosed? "Senility" and "old age" may not have been properly isolated last century.
I have three pi zero cameras and one regular pi camera at home for watching my dog when I'm away.
Not really.

Put X instead DuckDuckGo, the meaning and the intent of my post doesn't change. You just choose to see it in that way.
They’re almost certainly not expecting for the store itself to be profitable. Rather, the store is a billboard for the company (the same is actually very much true for Apple Stores; except those are probably crazily profitable in addition). In a way, the store’s main purpose is to take the product out of the niche. Let’s hope it works.
What It’s Like to Work Inside Apple’s ‘Black Site’
Simple, SEO. We want full SPA, but also want SEO to work without shaky unreliable prerendering. Hence server-side-rendering for SPAs.

Some will tell you that it's for first time loading performance, but in this day and age, I doubt that even registers for business impact.
Next.js is a SPA with that loads a little faster and is more SEO-friendly.
T1ha = Fast Positive Hash
They still have the effect of depressing wages with a component that is uncertain, volatile and liable to theft.
TV Magnate Shari Redstone Now Prefers to Curl Up with Podcasts
Shakespearian English and modern English are mutually intelligible and their separation is mostly temporal, not geographical.

Middle-English is referred to as a distinct language which you can study.
In Malayalam its "eh" as well.
Agda if you want to write proofs, Idris if you want to write programs. There is also Coq which is more popular but I would not suggest it to a beginner.
(note: both Agda and Idris can be used for both proofs and programs, it's just that each have their own focus)
I love this idea. How will you handle the network exit points?
It's 20th century and we will never forget.

I agree that some leaders were stupid but we generally agree they are our own business. I'm not surprised that Xi may one day be overthrown. but with some new government, we are still patriotic. Basically it's because our thousands of years of history doesn't allow us from being discriminated by anyone, IMO.

For iPhones, I'd say they're just not sexy. The design and color are boring. Super expensive for the hardware you get. Also Apple's ecosystem doesn't really matter in China. WeChat and a few apps make iPhones and Android roughly same experience.
In Search of the Northern Lights
The sweet spot for LFS is a few 100Mb files with less than a couple Gb overall. While DVC was designed with 10Gb-100Gb scenarios in mind.
Five hours of working on something you like, often feels like ten minutes working on something you don't.

The real benefit of freelancing is that you will tend to pick work that you actually want to do; which also means that you may indeed end up working more.

But then again, giving people more choice is not good for everybody. Some people will simply turn their lives into a freak show.
From the article it appears she advocates "early childhood literacy" , which generally means literacy before school age.

Whether or not you agree with it, it does seem that the program is aligned with her goals.
Which WebRTC JavaScript library should I use?
Show HN: Strace to JSON parser
Don't be a wise ass, with that definition state changes all the time in memory registers even when no requests are made.

> So, by this measure, the old-school “hit counter” images that incremented on every GET were incorrect

Yes they are incorrect. No Buts.

Two requests hitting that resource at the same exact timestamp would increase the counter once if a cache was in front of it.
GCC 8/9 vs. LLVM Clang 7/8 Compiler Performance on POWER9
Reading to children early on seems to be a strong predictor of later positive outcomes including literacy. Of course, these kind of things seem more likely to be common-cause (to me at least) - kids whose parents regularly read aloud to them probably also are encouraged to learn in other ways.
This.

Or maybe epilepsy?
Unfortunately, The Economist has metamorphosed into The Globalist Statist. The article is junk and confuses fascism and socialism with capitalism.

> Everyone needs enough to live on.

Everyone needs a lot of things. That does not ENTITLE them to any of those things.

Also, please note the qualifier "to live on"; how much of what exactly that is should presumably be decided by central planners, just so that experts (ie The Economist's readership) can hold onto their lucrative positions, or else we would end up with communism, where everyone would simply take a different amount of resources according to their needs.

People interested in economics may proceed to http://mises.org, there you may actually learn something genuinely good and useful.
The purpose of the Pi is to get kids a computer they can play with.

I struggle to see how your inability to buy lots of Pis disagrees with that.
Ramat Hasharon is less expensive than TA, but kind of marginally so: https://www.numbeo.com/property-investment/compare_cities.js... (Cf. with Ramat Gan, for instance: https://www.numbeo.com/property-investment/compare_cities.js...)

Also people who live there identify it as a “plush suburb” themselves.
not my native language, but in hungarian "to understand" is "magyarázni", which literally means "to hungarianize", which I think is amazing :)
If I import a Nuget package into my C# code that changed a signature behind my back or even one that correctly versioned the package as “we have breaking changes”, I’ll know at compile time. With an NPM package I won’t know until runtime.
Attaching a dollar value to time is productive.

I do see the point though. I’m on a very inefficient board of a financially struggling non-profit. And I keep doing the math of “If we could meet for 1 hour instead of 3, the money saved by the board would pay for the deficit.” I squirm every time we spend thousands of dollars of time on fifty or a hundred dollar items. So the OP does have a point that’s there’s a downside in terms of frustration.
>Number of bugs per line of code is nearly the same across languages.

Has this been studied?
I can really echo this way of thinking. I chose this role because I knew it was flexible (sometimes by choice, sometimes by chance), which means the downtime is built-into the price.

I frequently (happily) take days off to be with my daughter, and can very much enjoy the downtime when a client needs to have me out for 4-5 hours instead of a full 8-10.

The only time this thinking creeps in is when scheduling longer vacations. It's somehow easy to spread the cost of downtime over a day or week, but much more difficult to spread a chunk of vacation 'downtime' over the rest of the year. I'm actually toying with the idea of paying myself quarterly to see if I can curb this sensation.
SO much this. Having gone from salaried employee to freelance consultant, and now to running a product-based business, I've come to the conclusion that being paid per hour is anathema to the quality of my working life.
How have you been searching for them? Looking for jobs that use C (or maybe C++, with a poorer correlation since C++ was a fairly dominant applications language for a while) might be a decent proxy.
A good solution to all this $search_engine misery is to use something like Searx [1] as an in-between. This gets rid of most of the profiling - especially when using a shared instance run by someone you trust (to avoid being profiled by the Searx instance, self-host and have family members and friends use it) - and gives results from a whole host of search engines. Configure all your devices to use that instance and you no longer have to cope with any single $search_engine's 'new and improved' algorithms, instead being treated to a search salad with ingredients of your own choosing.

[1] https://github.com/asciimoo/searx
Why are these ads fixed on ukulele music?
Allowing airlines to oversell has the effect, in a competitive market, of reducing ticket prices for everyone else.

Put another way: banning oversell would mean that airlines routinely travel with more empty seats. This inefficiency would show through in higher ticket prices.

> In fact, it would be considered fraud.

Fraud involves deception. This doesn't apply in a market environment where it is widely known that they oversell.

The downside is that a free market isn't very good at adjusting to unlikely individual events.

I favour the legislative model in which airlines are permitted to oversell but there is statutory compensation due to anyone who is bumped. This provides the counterbalance to airlines taking it too far in risk to passengers.
Can dogs help us overcome hiring bias?