skysight-inc/HackerNews huggingface dataset:
For a long time I was in the server-side html + js for ajax/validation/effects camp, but I'm starting to gravitate to the SPA side of the fence.

Why? While server-side based web sites can load quickly, there's something dissatisfying (to me) about clicking around a site, waiting for server responses, when nothing has changed.

Sure, js, css, img, etc. assets are likely cached in the browser, and you're just downloading a blob of gzip'd html, but wouldn't it be better to flip the script and notify the client, rather than the client clicking around, uselessly consuming resources?

A SPA combined with websocket connections allows you to implement the, "don't call us, we'll call you pattern". Granted, for mostly static sites this isn't particularly useful, but still, in principle, only consuming server-side resources when state has changed is a "natural" goal I'd argue.

There are tradeoffs with both approaches, but I'm leaning toward SPAs more and more.
Makes it easier to read disconnected, i approve!
“It’s kind of a strict thing. It’s easy to make, easy to carry around, easy to eat, but it should be a disappointment“

I am a non Norwegian living in Norway. I can confirm that it is almost all the time disappointing. Also it is a strange practice to have short lunch breaks. When I was in Germany 1 hour lunch break was common. But in Norway 30 minutes is more common. It is too short even with a matpakke. It’s too rushed when it is an organized lunch say for a workshop or a conference.
You were clear enough, I was being redundant. Let's stop this here ;)
Editor & Code Management:
Sublime Text 3, Atom Editor, Bitbucket, Git

Backend:
MongoDB, Node.js, Express, RESTFul APIs, EJS Templates, AWS S3, AWS SQS, AWS EC2

Frontend:
jQuery, Backbone.js, Vanila CSS, SPA Application.
Are you sure you're not conflating IDs with passports?

Though, yeah, in Germany at least it's quite easy to replace passports
Thank you, that was the key to my puzzlement. The article implied, to me anyway, that a single sandwich might have three or four layers. Now I see that it is actually multiple open-face sandwiches, which is awesome to me.
Great work on Codea! I think you’re pushing the boundaries on making an iPad a standalone professional tool.

Any chance Codea support for other programming languages is on the horizon?

What do you think about graphical languages like Blockly, Blueprints, Workflow, and WebGME?

- Blockly: https://developers.google.com/blockly/

- Blueprints: https://docs.unrealengine.com/en-us/Engine/Blueprints

- Workflow: https://www.workflow.is/

- WebGME: https://webgme.org/
It really depends on how you value your time. Assuming $36 per year, how long would it take you to 'hack' together this solution? An hour? What would you charge someone per-hour to do some work?

It seems a lot when you compare it to a seemingly free email address, but Fastmail & others are well worth the upfront cost.
So programmers are running servers on serverless platforms? Is this common?
Listen to the user feedback and _selectively_ act on that.

Not all feedback is good, not all of it is applicable, requests for marginal features that benefit only few are exceedingly common. All feedback should be taken strictly in advisory capacity and assessed critically. However if you did miss something useful or dearly needed, it will surface almost immediately.

We've been practicing this for ages and it works extremely well.
Opera 12 rendering engine was entirely closed source, so a FOSS spinoff isn't possible. This is mainly working on recreating the UI experience only, with a very different rendering engine.
On the other hand, Finland punches massively above its weight when it comes to tech in general - while the US, being the world's largest economy, punches at its weight. That would indicate the generally egalitarian Finish approach is better than the darwinian US approach.

My feeling is that while the US is phenomenally good at delivering an excellent education to a small set of extremely talented people, I get the feeling that these people go on to not have enough free time to do really interesting work, and rather end up devoting their lives to industry, which is predominantly very conservative[1].

[1]: Obviously, I think this is offset by the fact that US industry is less conservative and more interested in abstract research than it is in most other countries, so you do get really cool research being done. But I think generally speaking, this model isn't as effective as just letting most people in society do more of the stuff that interests them, and less of the stuff that doesn't.
That’s a fair number. I am ashamed to admit, however, that I suspect I would second-guess too many blog entries and decide it wasn’t worth the money. Weird. I am disappointed in myself. But I typically read at least dozens of blogs a day. It could really add up.
Well, maybe we can stop trying to kill them so hard?

Millions in wasted money, plastic traps with poison, poison in sewers and onwards, immeasurable with current technology amount of suffering in beings closely related to us, all on another ridiculous quest of species-blaming.
The Surface Go is not "f'in enormous". It's as small as a vintage netbook, or an iPad (not "Pro") with an added keyboard.
Probably that it feels good. Same reason people do anything addictive.
Depends on the project but I think React(and other JS frontends) are heavily overused. Nothing wrong with good old HTML sites. Think twice for falling into the SPA trap. Not saying SPAs are a bad choice.
> How do programmers here account for the unexpected?

You don't. At least, I don't.

When I'm writing code for an application, I'm doing the following...

"Hmmm, I need a function to perform <certain thing>"

Function is written... tested... debugged until <certain thing> is achieved. Job done.

Whilst writing said code, I do not think to myself "Hmmm... y'know in the future it might need to also do <some future thing>" and proceed to add additional function parameters and write additional code which would only be useful sometime in the future, just in case.

No. I write sufficient code for what is required of said function at that moment in time. It is only if and when required would I then add any additional parameters and code to that function. Or write new functions.
The easiest way to start from scratch is to meet people in person and look for gigs locally. Without a network made of real people, in fact, the global internet is a race to the bottom. Better luck may come from local forums, though, again relying upon the opportunity to meet your clients in person.
> they think that "programming" is only a small subsequent step

No, they think programming is a basic skill (like reading, writing and arithmetics) included from 1st to 9th grade in the national core curriculum: https://www.theatlantic.com/education/archive/2017/02/teachi...

Details: https://legroup.aalto.fi/2015/11/coding-in-school-finland-ta...
If they were biodegradable they wouldn't completely cover the shoulders of every road and highway.
It makes sense... almost Power law distribution of talent. The wisest move is to hedge bets accordingly and accurately classify potential talent for said investment.

The worst move would be to do what the US is doing:

- nationalist xenophobia turning off expats from emigrating

- exacerbating massive inequality disparity/impoverishing it with people living on highway on-ramp embankment worse than S. American favelas (i.e., go to the Bay Area, drive around.. 'nuf said)

- ban the export of new technology with arms controls, killing industries and making a country radioactive to invest/do business in

- make it extraordinarily difficult for moderately wealthy entrepreneurs to work in a country for even a limited time because their passport isn't from one of a dozen or so favored countries

- ban everyone entirely, regardless of their background or achievements, if they happen to have been born in another set of countries

- double-down on fossil fuels, end clean energy tax credits

To me, the best things from Finland are Linus Torvalds, Jarkko Oikarinen and The Hydraulic Press Channel. There's probably others but the wikipedia page for famous Finns was too long.
Free css generator to build broken and unusual grids
That looks pretty awesome
My safe enterprise monolith stack for long term maintainability and high productivity is:

Backend: Django

Realtime/DB: Realm + Postgres

Frontend: Angular

Surprised few have mentioned Angular yet. It is highly opinionated unlike React, and backed by a giant unlike Vue. Seems like a safer enterprise choice.
Ah, stand alone complex.
I am well aware of server side rendering but you still need to send all that javascript to the client, whether it ran on the server or not. Wouldn't exactly call this a "little bit of js" on top :p
Weather Channel app steals and sells user data
I contacted lifespan.io with a similar question and they suggested I'd join their Discord server to have a deeper discussion about how to help.
I vehemently disagree with the idea that returning from a function often is bad and that it should be used "sparingly". I find that code that returns as early as possible is the best. The idea of a nearly mandatory single return point is a very antiquated notion. I'm much more concerned when I see ten levels of indentation for no good reason.

Likewise with continue and break. I think this advice is very bad. All the other recommendations seemed fine.
Let's see - one could have both server and client jumping through hoops rendering a client-side framework on the server and then hydrating it again on the client (including having to pull in all the tooling that would require)...or one could just use regular old templates.

There certainly is nothing wrong with going with simplicity over a solution that's overengineered for one's case, tiger.
Pass:the standard unix password manager (From the maker of WireGuard)
Yr is very good and was my main weather app for years. I still use it but my main app is now BBC Weather [1] and its apps [2][3]. I trust it for the same reasons I trust YR as they are backed by non-commercial organisations that I in general trust with my data. And both seem to have accurate enough weather forecasts, probably mostly sourced from the same metrology organisations across the world. Both have a very nice UI and easy to use.

[1] https://www.bbc.co.uk/weather

[2] https://itunes.apple.com/gb/app/bbc-weather/id649420946

[3] https://play.google.com/store/apps/details?id=bbc.mobile.wea...
I'm sick of these "considered harmful" articles
"Simulacra are copies that depict things that either had no original, or that no longer have an original."

https://en.wikipedia.org/wiki/Simulacra_and_Simulation
For part 2, try porting it to rpython and see how hard it is to turn it into a full JIT.
Fintech-Companies-Startups-list
Discarding an old-fashioned filterless cigarette like that is (probably) not too bad. There are nasty compounds in the tobacco, but it's all biodegradable, relatively quickly.

The main problem is the cigarette butts from filter cigarettes, which have been the standard for decades. It's kinda stupid anyway. Smoking a known harmful substance, but oh let me filter it through this little piece of cellulose fiber wadding.
And 20 years later, this is published on an XMPP based blog engine, quite a nice way to celebrate :)
> use the terms SPA and SSR like the cool kids do

and how are you doing this in Scala.js? As far as I can tell, outside of rolling your own, there's Binding.scala, Monadic-Html, Scala.rx, and a handful of other, perhaps maintained, in-house libraries for building SPAs (i.e. not dependent on the "cool kids" libraries, like scalajs-react).

Just curious what your approach is as I had a great time doing a project in Scala.js a year or so ago, and am looking to possibly build a Scala/Scala.js SPA for the next project (instead of the default: Angular/React + TypeScript on the frontend).
Most people didn’t understand why privacy mattered. People are slowly learning the value of privacy through personal experience and the stories of others.
I live in a high renting area where finding a decent 2 beds apartment for 2k is becoming almost impossible.

I own a two beds family home in this area with an estimate price of $400,000 and I pay $1,700 in the mortgage every month.

That comes down to $20,400 a year.

Now the appreciation rate of a house in the US is about 5% every year.

In a $400,000 home, that comes down to around $20,000 in appreciation every year.

So in theory, I'm only spending $400 for my housing.

After the recession in 2008 though, some houses have been appreciating at a rate of 20% or more.
I don't know why your reply got downvoted, it's pretty accurate, but I've found pro-blockchain comments often get attacked with a plethora of fallacies. It seems to be a sensitive topic to some who have likely lost money or missed opportunities and now treat all blockchain projects as evil, which is quite a shame.
EUROPEAN UNION TO OFFER ALMOST $1M IN BUG BOUNTIES ON OPEN SOURCE SOFTWARE
I've been freelancing for about 20 years.

I wrote about how to start your own business at https://nickjanetakis.com/blog/how-to-start-a-successful-fre....

Everything still applies today and it doesn't involve having a portfolio or using upwork.

But if you want quick work, expect it to be local, which means face to face talking with business owners right from the start.
my go to is java/Scala/kotlin in the backend (Spring Boot when appropriate). Angular 6 with typescript on the frontend. Stack is stateless, immutable (no ssh keys or any secrets, only IAM roles). Lambda, API Gateway and DynamoDB with on demand billing. Costs pennies when idle and can auto scale fast to millions of requests. Static files on S3. Automatic CI/CD with Code*. All the infrastructure is in code as well. AppSync for WebSockets and GraphQL. (Recently started using Amplify as well)
After starting freelancer - do read out - (WHAT ARE THE BIGGEST MISTAKES FREELANCERS MAKE? Strategies For Beginners) https://usercv.usercv.com/blog/22/what-are-the-biggest-mista...

Also try Freelancing Platform - UserCV.com
> not creating own modular framework instead of using the marketing-driven library/bloat that is called React.

> calling others noobs.
I totally agree with you! I've used react and redux in almost every project last year, but that doesn't mean the entire web app was written using react and redux. 50 ~80% was plain old static content rendered on the server.

A dynamic client side UI is more expensive to build compared to static html rendered on the server. Our software usually aims to solve a business problem for as little money as possible so we only build these dynamic ui's when they're absolutely required.
SQL Subselect Programming Reference and Examples
In 2017 I was able to decrypt the video (for test only) too, but without breaking Arxan's whitebox implementation. I was able to retrieve all the state needeed to regenerate the keystream, then patched google's shaka packager to use this keystream instead of the one derived from the original key (which I didn't have) and the decryption was successful. But that was a manual process just for test - you'd need to load a special kernel module, launch chromium, then start the video, and so on... But that was in 2017, I guess it'd be harder to do now
Me, personally:

Vue on the front end, Django on the back end. That’s mostly because I know these frameworks quite well. And in the beginning of a project, all I want is an MVP as quickly as possible while maintaining some clean code standards.

I use firebase static hosting for the front end and a dockerized deployment on Heroku for the back end.

Later on, if the project grows and when I break components out into microservices, I may start to worry about other considerations such as performance and resource usage.
What's not there about Kotlin/JS for you, out of curiosity?
Surely this depends on the results you're after? Sure, giving everyone a basic intro to AI isn't going to result in [m]any AI breakthrough discoveries or give you a workforce of AI researchers (though it might engage a few people in the subject that might otherwise have chosen to be quants). But it might help innoculate them against a lot of misconceptions about what the current state of AI can and can't do and encourage them to think critically about data sources and inferences that might be drawn from them.
The buyers in the market choose to purchase products which reflect machine capabilities. No one is being stopped from using products that machine capable, but people seem to prioritize other qualities such as less expensive.
When something is taxed as much as cigarettes, it leads to a sense of entitlement for the user and an assumption that the cleanup cost is baked into the taxes.
Do you want to trust companies to do the right thing? Do you do the same thing with people on a large scale?

Why exactly were laws invented?

> stupid

Elaborate.
365 RFCs – Commenting on One RFC a Day
Google gets go-ahead from Central Bank for payments (Ireland)
Great I will give it try. Thanks.
A social network with other smokers in proximity. Regular breaks from work that they don't forget to make. Regular time outside of a sealed office space..

There are definite short term advantages to smokers. There (_)used to be similar short term advantages for those who drank during work hours when it was socially acceptable.

(_ Used to might be wrong.. Startups with designated drinking times that seem to be mandatory are annoying but not irrational given their short term interests.)
Added to the shopping list.
Which is kinda besides the point? The question isn't whether you as an individual should dedicate your life to having privacy for yourself, but whether we as a society should make privacy a norm.

If everyone shits in the streets, the question isn't whether you should dedicate your life to avoiding all the shit to reduce your risk of infection, the question is whether society should stop shitting in the streets, because that's actually not much effort, while massively improving the health of everyone.
In 2017 it was obfuscated using Arxan's "ProtectIT" (you can view the patent) and did use whitebox cryptography. I didn't look at the dll, but at the .so file for linux (for fun). I guess it should be harder now

EDIT: If reversing this DLL/so is illegal, how I am supposed to be able to test for a potential security vulnerability? Not that I can do this, just wondering...
Screenshots: https://otter-browser.org/screenshots/
How would Martin Luther King survive long enough to lead the civil rights movement in a world without privacy?
Yep, I’m doing full stack serverless for a few years now.
I don't get the sequence of your thought. Not being controlled by a government is a feature of a global currency such as the IMF currency. Or Gold. Do you think a global currency not controlled by one entity is good for criminals? Why? How?
Nest has a bus factor of one[1]. Django[2] and Rails[3] don't have this problem.

[1] https://github.com/nestjs/nest/graphs/contributors

[2] https://github.com/django/django/graphs/contributors

[3] https://github.com/rails/rails/graphs/contributors
> Railroading people was legal too

And it shouldn't have been.
There is also a herd immunity effect, if it's easy to compile a large database with everyone's personal data and political beliefs, then it's also easy to launch micro-targeting campaigns where you give political ads with messages that are tailored to the narrow segment of the population that the person viewing the ad is in.
How Bitcoin grew up and became big money
>It cracks me up when people start telling me what I can or cannot hear based on those tests without knowing anything about me or what kind of equipment I own. This happened just the other day on an audio forum.

Just disprove them with data! Until then, casually mentioning "award-winning" acquaintances and telling people they need "proper" gear reads a bit condescending and probably turns some people defensive.
Providing a warning about the alpha edition in the README was a responsible thing to do. As Gaia is being actively promoted, I assume that the project has reached a certain level of maturity since the warning was written. Is this the case? In other words, does the warning still apply?
The Ocean Conservancy report has been cited by quite a few articles now, and it pains me every time I see it. As ever, the conclusions drawn are quite misleading.

1) The source of the data is cleanup on beaches, not ocean trash. If anything it's more likely to be representative of items discarded on beaches or waterways.

2) Cigarette butts are greatest purely in number of individual pieces, not in terms of weight or volume.

The following paper reports fishing nets to be the largest contributor to ocean plastic (by volume). Cigarette butts aren't even worthy of a mention in their report (see Supplementary Table 4 which lists the top 5 items per item size group).

https://www.nature.com/articles/s41598-018-22939-w
Italian here. We have 1-hour lunch breaks between 13:00 and 14:00, which is usually long enough to eat our meals, have a cup of coffee and mess around a little with colleagues.

Sometimes (but very rarely) my colleagues from my team and me go have lunch at some fancier place and completely miss the 1-hour time limit (by a lot).

This is kinda tolerated because it happens very rarely, but I can assure that this is awesome for team building. Nothing gets people closer than "we took a 2.5h lunch break and we're all equally responsible for it".
Seems like these operations are common in all kinds of convolution with a filter kernel...
Ask HN: Best resources for learning data science?
Looking for moocs, books, blogs and whatever you find helpful from beginner to veteran.

thanks.
I like the way it looks. The thing with design is that there will usually be someone who thinks it's ugly.

And I think that's okay. Everyone's aesthetic sense is a bit different. Nobody's going to like everything you do.

I do think that the ordinal poster's criticism could have been delivered less rudely, though.
> I have a bunch of Swedish friends who all came back from work trips to Norway, cursing, because the &¤#&#"&"# Norwegians would schedule meetings over lunch, and then everyone else would just pull up their /¤#&"&!"#&#" matpakke in the middle of the meeting, while my friends were stuck with nothing to eat, because they were used to taking a break, going out, sitting down, eating lunch, and then going back to the office. Instead, they had to sit and starve in meetings.

That sounds extremely odd.

I'm 44 years old, and I've lived and worked in Norway for most of my professional career and have had numerous jobs, but I've never experienced anything like what you describe. On the rare locations when a long meeting or workshop extends through lunch ours, there is either a lunch break where we all go out somewhere to eat, or we get lunch delivered to to everyone in the meeting room.

The packed lunch seems to me to be almost exclusively a school thing. At workplaces, only a few people near retirement age or people with very strict dietary requirements bring their own lunches.
Chinese rover powers up devices in pioneering moon mission
A Short Ballad Dedicated to the Growth of Programs (1986)
Linux board makers learn how to specialize
It is great for being alerted to congestion problems, but many times if you are familiar with the route, you can find optimizations the mapping software can’t.
Rails, Flask or Phoenix using Turbolinks and server side templates with sprinkles of Javascript. Pick the one that has language / framework decisions that you like best.
Yep.

In the past years Laravel has helped us quickly build prototypes that we could conveniently grow into enterprise-scale apps.

Backend: PHP/Laravel
Frontend: Same, using VueJS as needed/wanted.
Database: Usually starting off with SQLite and switch to a more appropriate choice like Postgres, MariaDB or even MSSQL.
I have personally seen warm lunches in France in 3 out of three schools I visited. Locals treated it as something completely normal, complained about quality which seemed to me much higher then what I was used to.