skysight-inc/HackerNews huggingface dataset:
Julia looks resembles modern Fortran in some ways (no semicolons or curly braces, array indices start at 1, built-in array operations), and several of the tips in the article amount to writing Julia like Fortran. So maybe one should write a computational kernel in modern Fortran.

"the type of the returned value of a function must depend only on the type of the input of the function and not on the peculiar value it is given." Fortran mandates this.

"Another common error is changing the type of a variable inside a function." Static typing, as in Fortran, disallows this.

"When a function is in a critical inner loop, avoid keyword arguments and use only positional arguments, this will lead to better optimisation and faster execution." I doubt this will matter for a compiled language.

"Avoid global scope variables." For a compiled language, it is unlikely to matter.
Thanks! I've just registered
> You should give them some advertising.

I showed the article to the company before publishing it, and it included many references and links to their website.

The contact explicitly stated he didn't like it to get published, as it might damage their product image on quick Google searches by someone researching it (even though I praised the company in the article).

Removing direct references was a nice middle ground they accepted.
Usually the recommendation and the simpler approach is quite the opposite: You can't version control, deploy and generally handle database function as easily as a piece of code. My experience is that nowadays more and more code is pushed to the ORM or database handling code level because it greatly simplifies everything.
I don't like migrations, it's like doing version control with dated copies of files.

I wish there were (perhaps I'll be told there is) a migration system that used a single file per table, and was git-aware so that when the live schema didn't match the checked out schema file, it would determine a migration from the historical version that it does match.

Alas, I don't think it's possible, because such a file would describe a state, not, as migration files do, transitions between states. It's tempting to imagine that it's possible to robustly infer transitions from one to another, but I've used Django.
If you do this, you will regret it and it will cost you money.
subtree is more transparent to users of the repo as it is basically pulling in a copy of the repository during the clone. submodules on the other hand are only storing the metadata pointer to the child repo and require users to manually clone. I have more information regarding subtree (and subtree merge strategy) on this answer: https://stackoverflow.com/a/33579069/2105636
Cleanup is not about how the code works at runtime, but how well it supports change. An abstraction that looked right at the time shows its cracks years later. Changes that should be simple and low-risk become intense and scary when they need to fit in with it.

It's not insulting. For one thing, the person proposing the change may very well be the original author. For another, you have the benefit of hindsight and access to information they didn't about what bugs would emerge, which features would be demanded, and how hard it would be to implement them. Of course you're going to see better ways of doing things than were visible on day 0.

Increasing speed and reducing risk for all future iteration is some of the highest impact work you can do; rather than shipping a single feature, you're a force multiplier for all the features developed by your team.

The only time it makes sense to skip cleanup is when you're content to just let the thing run, and don't see any changes in the pipeline.
Number 3 is just plain unsustainable - while people prefer short waits if there is high demand lines will form. Just because people will tolerate them doesn't mean the preferences aren't real.

The unspoken zeroth priority is food that they enjoy.
Interactive charts are great for supplemental material, but moving primary sources (e.g. journal papers) to anything as ephemeral as the current web stack is a terrible idea.
Mailinabox as well.
No, just before actually releasing it. Nobody cares about the code as long as it is not running on the devices.
Deepstream works best as a standalone server!

Ideally you would just configure it using a config file for your permissions (https://deepstream.io/tutorials/core/permission/valve-introd...) and use http auth to authenticate your users (https://deepstream.io/tutorials/core/auth/http-webhook/).

You can see this sort of configuration here https://deepstream.io/guides/live-progress-bar/

If you want you could add a custom plugin that would take the HTTP server within deepstream and enhance it using express for all your non-deepstream routes, if you raise an issue for it I think it's something that can be done in the near future! But generally wouldn't recommend for non-pet projects since they serve two different purposes.

Edit: Also thank you!
With their infant children.
Or something that includes NextCloud or Owncloud even if you do not use them, such as Mailinabox.
You think so? I would totally release it.
Isn't PL/SQL a full fledged programming language?
This is exactly why i will never work in an office again.

- I wake up when i want (thou without fail earlier then when i had a commute to dread)
- i can make a nice coffee/breakfast while getting some work done
- i work out every day, sometimes multiple times because i can pop to a class by my home whenever i want
- i often take days off to climb or snowboard/shift my work into the evening
- seeing friends is easier than ever as i can be social on their schedule
- i don't always take vacation to travel and explore as i can work from anywhere
- assuming a generously short commute of 30 min plus 15 min to get ready/unpack on either end thats at least 1.5 hours a day back to do whatever i want with
"Hard work" is not just rigor and formalism. Hard work is going through a lot of intuitive models that turn out to be false. If seen this way, the comment you respond to, makes sense.
Even if the service isn’t great, b/c tipping is baked into their total compensation, is argue that you should always tip. Only changes the amounts that you tip by.
>The real solution is to make delivery companies pay for the congestion they cause. A fair use tax, for example. Then, using that tax revenue, you can improve traffic.

Congestion charges are only going to be effective if all road users have to pay it. If you want to charge delivery trucks but not personal vehicles, you're only going to make the congestion problem worse.
How does Startpage make money? How does it plan to make money in the future?
After looking into solutions like Hasura and Postgraphile, this doesn't seem like such a bad idea.
I agree, panopticlick is not really good as a measuring point. I am randomizing most of metrics it is using and even if it detects my browser as unique, this will always be true as my data are fake and randomized each time browser tab is opened. Sure you can track me for the time tab is beeing alive, but on next visit, the results are going to be 90% different (including webgl fingerprinting) and there is no way it could correlate me with my previous visit. For it I am always a new visitor, never seen before. I could try to blend in, but why?

Another thing is "not blocking sites that honor DNT". I am sorry but I dont trust anyone based on fact web users were lied just too many times. Once DNT will be tied to hefty fines, I might reconsider, untill than everything will be blocked.

(And it is highly tasteless that eff is offering links to promote panopticlick on worse web tracking facilities of the internet - fb, google+ and twitter.)
If you could refactor the code into smaller and faster SQL, that means the code was badly written, not that SQL (and stored procedure language) itself is bad.

Also almost every algorithm can be written in PLSQL if needed, so yuu can surely improve on the O(n^4) time complexity.

I agree with the procedure change tracking, that's much harder, but server side programs can be extremely responsive (low latency) and powerful.
I spent 5 minutes trying to figure out what Deepstream, because I was intrigued. I was unable to figure it out based on the front page, documentation link and the GitHub repo.
Feature detection is more reliable than version checking, as it can more correctly support a wider range of browsers (that you didn't think to version-test for). There might be some cases where that's tricky, but it's generally straightforward. Tools like https://modernizr.com/ can help with that.
Not a pro or con: DDG uses Bing results, startpage uses Google results
Picking on sibling comment, you can still reach for the document, all what is required is a little experience as Apple developer on how documentation get shifted around.

https://developer.apple.com/library/archive/documentation/Co...

Sadly the new manuals are pretty lousy.
Part of it is based on previous experience working for the national grid in a hydro rich 80-90% clean generating country. I can’t speak specifically for the US but think about it like this. You need to have enough generating capacity on your grid to meet the peak demand. Which according to this duck graph is when solar is not generating. But we have not overbuilt capacity by some large margin. And hydro is only some portion of that total capacity today. The rest is coal, nuclear, increasingly gas, and some small amount of renewables. Therefore how can hydro alone meet the all of the demand when you remove the goal, gas, etc.
I'm having a hard time finding it now. I've seen a graph before that showed that as tip percentage has increased over the decades, the pay the restaurant gives to the workers has gone down. Tipping more in effect hasn't rewarded the workers, it's rewarded the restaurant.
Some people think Google gives them better results for their searches than DDG, Startpage & Searx allow them to use Google search but with the privacy and anti-advertisement advantages of DDG.
I think that may companies need a fundamental shift in managerial culture before they take technical debt even remotely seriously.

The only way I've ever managed to do anything about technical debt was by hiding the fact that I was doing it - since it was completely impossible to get any level of managerial buy in or even permission.

It shouldn't have had to be that way, I should've had higher level support, other developers to work with and competent testers - working in that situation ultimately left me never wanting to write software for anyone else ever again.

It's a disease of reckless incompetence, and it permeates the managerial structures of large swathes of the software development industry.
Well sure, if restoring from backups means you will be working unpaid overtime then it'd be worth working less overtime to stave off more, but in practice restoring from backups is a time-consuming process for computers, not for people. Realistically though, enjoying your Sunday and digging into work issues on Monday is probably not going to be a big deal.
The main issue, I think, is the fact that I was already fairly successful when I decided to move. I was working remotely and it didn't really matter where I lived. If I moved a couple of years prior the story might have been different: I'd have something to chase.
> I can live wherever I want, but I don't know where I want to live! I can even move to Europe as I am a dual US/Irish citizen, but I don't know where I would want to go in Europe!

I'm in a very similar situation.

I can work from basically anywhere. For the first year of fully remote work, I moved all over my country. During the second year, I went abroad and spend 3ish months in several nearby countries.

Now I'm entering year 3 and I'm miserable. Having freedom to live anywhere makes the place I choose feel like it's "wrong" in some way.
So you mean an temping agency? Those usually work with 0 hour contracts while people are on call and rented out.
Well the underlying problem is usually the same as enterprise software - the users and the purchasere are often different.

The 50 cent on a dollar coild fit with the "want it cheap" crowd which is the same fundamental reason as the open office in many cases. It ignores the other costs to productivity.

Those who just want an office to themselves can usually get it at home - minus the separated work space aspect of course.
> Code is not accruing danger or becoming dead by just sitting there, untouched.

All other things being equal, this is true, except for hardware issues where replacement parts may be very expensive or completely nonexistent.
Which sense of 'manifold' is used here? I vaguely know the locally flat object with an atlas of maps, but I'm not sure that's what they mean.
To be honest, my office has a kitchen with beer stocked in the fridge. The thing is, once it's there, it turns into your responsibility. I've never witnessed anyone drink a beer before 4pm on a Friday. I've witnessed people chilling and having a beer at 6:30-7pm. It helps you chill out and unwind when you're working late or you're chatting with co-workers. It would be practically unthinkable to have one whilst other people are hard at work though.
I thought this was going to be a tool that automatically has Paul graham flame you lol
I don’t think this is the right takeaway - the examples all had marketing as the second skill because the author wanted them to be people that the reader would recognize. This means that they needed people with a public persona, which lends to self marketing being the shared skill. A person with a skill set that doesn’t include marketing could be just as successful, but you as a reader aren’t going to connect to the example of the author’s second cousin Sam.
What sort of documentation would make most sense? We went through iterations of example animated apps, code samples and text but can't seem to explain it clearly yet =( Any input would be much appreciated!
Part 0 - Introduction: http://www.oranlooney.com/post/ml-from-scratch-part-0-introd...
There's already a word for a company with a strong-arm division: gang. The government is the biggest gang -- claiming and enforcing a monopoly of violence in a particular geographic area is the defining feature of a government. If the Sinaloa cartel becomes more powerful than the Mexican government, it will become the Mexican government. It effectively already is in some municipalities: https://www.npr.org/2014/02/24/282123622/ruthless-mexican-dr...

> Because of Guzman, she says, everything is under control — people don't steal, kidnap or extort here. And the partiers say he helped the poor, paved roads, gave people jobs — the list of good deeds goes on.
Why MIT? I recall it was AGPL before.
> Then they started advertising their own properties in advantageous positions (at the top) whether or not the results were all that relevant, and did not mark these as ads.

Where and when did this happen?

I recall the early days of Google, and they always had the ads appear first. I agree that it used to be very clearly delineated from the rest of the results, and that this has become more subtle over time, but as I far as I know they have never been disguised or hidden, which is what you’re asserting here. Can you provide a specific example or screenshot?
Every horror you've just described can happen up in the app layer as well.

The problem is SQL is not a programming language and the only way to
accomplish some things directly in the database is by creating solutions
with O(n^2) or worse running-time. Our system has queries with O(n^4)
time complexity.

Two observations here.

1. The approach being espoused is not, "Move everything down into the database layer at all costs, no exceptions." It's more like, "Many things are simpler and faster at the database layer."

2. These O(n^2) (and n^3, n^4, whatever) horrors are at least as common at the app layer. I have dealt with my fair share at every possible level of the stack.

I had to untangle a query that was over 3,100 lines long with 18 sub-queries

I just want to say: ouch. I am sorry!
My understanding of capitalist arguments is that they think "profits" vs. "people" is a false dichotomy.
High-Performance GPU Computing in the Julia Programming Language (2017)
Keep the faith!
Or, simply stop tipping altogether, cold turkey. Let's do that all at once. Tipped professions will turn on a dime and start expecting a living wage, and everything will be fine, just like everywhere else in the world.

When things don't make sense you DON'T need to participate in them.
> Making matters worse, changes to stored procedures don't show up in git, and can break some regression-testing tools, making it very difficult to track changes and hunt down bugs.

If stores procedures become part of the system, they belong into the SCM as well. The deployment process has to include the stored procedures as well. Different to tables and other constructs that have state, stored procedures can be easily migrated.

In general I agree that stored procedures massively underdeliver in many aspects, but not properly treating the database as the application server it has become is part of the problem.
Don't forget to run it multi-cloud
Yes, that too. I just don't consider Android hackable enough for me. Too constrained by design choices of others.

And there are plenty of unlocked Android devices out there that users can modify already.
EDIT: The comment I replied to here has since been changed. xref originally wrote: "DDG uses Bing results, startpage uses Google results"

---

You haven't described an advantage with this reply. Or, at least, reasoning why you believe it's an advantage.
Why Costco Is Cheaper Than Amazon
Let me attempt to draw you a pyramid of home location needs:

5. Political situation - not a warzone? Not under sharia? Very democratic, or key to world issues you consider important?

4. Climate - no tundra/sahara? Would you benefit from living near the sea?

3. Food - is the local food edible? Is the local food cheap, including the restaurants? Or is it just very good?

2. Access to nature - do you want to try mountain ranges? Forests? A kind of people you like having around? If I feel disconnected from the city, I just use the public utilities more: coffee, beer, parks and benches for reading on. Not quite collecting mushrooms in the forest but I'm getting there.

1. Culture and language - any cultures you want to learn about? New languages? What would bring your personal and professional development in harmony?

Good luck!

P.S.: The Netherlands are decent. Everything is very "duidelijk", clear, and direct. People don't mind speaking English and speak it well. Weather is mild, can be a bit rainy but not half as bad as Britain. Housing aplenty for a programmer's salary. Consider visiting for a week or so if it peaks your interest.
i.e, why would you need a webcam API or even AJAX to render a blog article?

This seems like a lack of imagination. The modern scientific publication Distill.pub makes heavy use of AJAX (eg https://distill.pub/2019/activation-atlas/) and it's easy to imagine it using a webcam (eg, to demonstrate semantic segmentation)
Every user of Arduino and similar devices who do not know PJON should take a look. Especially the SoftwareBitBang strategy is genious, allowing lots of devices to communicate over a single wire (plus ground) over long distances on a bus, without wasting money and space on communication shields.

I use PJON as a basis for a library I created for my home automation, and it works flawlessly (https://github.com/fredilarsen/ModuleInterface).
This is why we have so much crappy pointless software clogging up the internet

edit: maybe invent a crappy pointless software removal tool
If you prohibit a tip line on checks and a tip entry on customer operated card machines, it becomes difficult to tip if you don't carry cash. If it's difficult to tip, I can't be expected to tip, and the prices need to be set appropriately, and I don't care if a few people tip.
John Conyers Jr., Longest-Serving African-American in Congress, Dies at 90
Wait, a coworking center is a place you share with people who aren't your actual coworkers because you wanted to work remotely? Man, this new economy is out of sync.
I feel like we're in a strange new paradigm where the earliest reaction to something determines the entire reaction. Boeing wasn't prosecuted in the first weeks after the crashes therefore it doesn't matter how far the depths of their greed and negligence went, they never will be.
Any ideas welcomed!
Doesn't the barber set his own rates?
The author's not advocating anything as drastic as abandoning the application layer entirely, of course.

These aren't mutually exclusive approaches. You can use an ORM like ActiveRecord to manage migrations and move functionality down to the database layer when reasonable to do so.
All the more reason.
The thing that's crazy is you hear a lot of people talking about "what's the incentive to provide good services if employees aren't motivated by tips" -- which is it?

Either we've accepted it's a "fuel surcharge" for an airline ticket (as if the fuel isn't part of the price and I'm free to grab my own dishes from the kitchen) -- or it's meant to incentivize behavior. If we pick both, we're not really achieving either.
And fixed, thank you this is great fun! Font choice possible?
> Depending on how big you count history this sounds really implausible.

History := the recorded past (in this case I mean the last few hundred years)

> Desertification is currently increasing

Okay, you're right about this based on the link you sent. In my head I was considering arctic regions / tundra as desert as well, as their recent forestation rate is much faster.

> temperature rise dries out a lot of places

This is true but it also causes other places to become more humid. Higher temperature climate has more liquid water + more entropy ==> more active water cycle on global average. (This is a gross oversimplification but my point is that the increase in temperature is an increase in chaos, and so water that is currently frozen somewhere will be moving around.)

--

The important idea to note here is that we can't just ask "does global warming cause more X"? Because the answer can be yes in some areas and no in others, and an increase in X somewhere does not mean a net increase globally.
If you don't mind, how are you randomizing these metrics?
Our aim is to remove 90 % of floating ocean plastic
If he's skilled and careful then why doesn't he charge in line with his value?
Making matters worse, changes to stored procedures don't show up in git...

They do if you use database migrations.
Over here in the UK people certainly tip. Servers in restaurants are paid minimal wage or above, but it's still the expected practice to give a tip if the service is good (or in some restaurants, when the tip/service charge is added to the bill).

We also often give tips to delivery drivers for takeaways and pizza places, as well as barbers/hairdressers.
Who defines what is proper?
Absolutely! The only way this will ever change is if the customers decide to just not tip. Yes, in a few restaurants, especially in a big city servers get paid better in tips. But I bet that is not true for the vast majority.
The AZ for an instance is fixed. Check it at startup time, and cache it in-memory.
Are you American?

If you are, you may not realise that the people serving you realise Americans are used to tipping and so act as if they expect it too. And yes, they'll like it if you do tip.

No where I've been in Europe or the UK is tipping expected.
Great! Feel free to update me in the future :)