skysight-inc/HackerNews huggingface dataset:
> I'm not sure an ORM adds much in the way of casting data or preventing malicious input.

My ORM is constantly converting things backwards and forwards using in-database functions. The biggest change here is casting internal datetimes to the right timezone.

This and input mitigation is all possible to build into your queries, but a) you have to remember to do it every time and b) you have to do it. I've got better things to do than debug my crappy SQL (at least that's what I tell myself).

> using aggregates, window functions, CTEs, lateral joins, etc.

Yes, that's what I'm talking about too. A good ORM lets you use those in-database features from the ORM, building queries that use the features of your RBMDS.

I think we have very different experiences of what an ORM can do. They're not equal.

For some background, I've been using Django for a decade. It hasn't always been as good as it is today, but doing the sorts of things we're talking about here is stupid-simple. Plus you get to stay within a Model-based environment so you can encase this data in business logic, or get raw data, or use that query inside another aggregate.

Here's some Django (me playing around in shell_plus on real models with real data, start is a datetime) and the SQL it's running.

today = datetime.date.today()

Booking.objects.filter(start__date=today).count()

SELECT COUNT(*) AS "__count"
FROM "bookings_booking"
WHERE ("bookings_booking"."start" AT TIME ZONE 'Europe/London')::date = '2019-08-22'::date

And if you want to do something a little fruitier like pulling back the average booking.cost for bookings over the next week, it's pretty simple if you understand how things like `.values()` transforms a query.

Booking.objects.filter(
start__date__range=(today, today + timedelta(days=7))
).annotate(
date=Trunc('start', 'day', output_field=models.DateField())
).values(
'date'
).annotate(
avg_cost=Avg('cost')
)

SELECT DATE_TRUNC('day', "bookings_booking"."start") AS "date",
AVG("bookings_booking"."cost") AS "avg_cost"
FROM "bookings_booking"
WHERE ("bookings_booking"."start" AT TIME ZONE 'Europe/London')::date BETWEEN '2019-08-22'::date AND '2019-08-29'::date
GROUP BY DATE_TRUNC('day', "bookings_booking"."start")

It's not perfect, but it's not far off. There's also enough tooling around the ORM to detect bad queries and fix them.
Amazon, Microsoft, 'putting world at risk of killer AI': study
Moreover, if the reps have fewer staff, they will probably rely more on lobbyists for research.
states, not geographical units.
Git itself is decentralised, but many (most? (all?)) of the workflows people build around it are not.

Individuals and teams who already have what they need in the local repos can continue to work through an outage of the VCS part of github, but at the points where they need to collaborate (merging each other's changes, issue tracking, etc.) the workflows break down. Yes you could share changes in a more distributed manner, or workaround the outage in other ways, but in reality people will stop and wait for the central repo to be available again. Also, pulling changes from my repo to yours directly to avoid that part of the downed service doesn't solve the issue tracker or CI manager also being down. The clue is in the name: git HUB.

That said, the issue is similar to how people see the results of aviation accidents: a jumbo going down takes out a lot of people but statistically, considering all air journeys, that is a lot less than the deaths that would happen due to equivalent car journeys. I suspect that everyone being a bit inconvenienced for a while when github/gitlab/other-centralised-service has issues like today doesn't add up to as much as the many small individual inconveniences they'd experience over time with their own local instances of, for example, gitlab, especially if including the routine maintenance time required which doesn't exist as much when using github, or gitlab managed instead of self-hosted - the outage just feels bigger than all the little problems because everyone is affected at once.
But a guess can be wrong. As somebody from Eastern Europe many other events come to my mind first in relation with 1989.
Too much exaggeration on this.
To get multiple variables you "just" have to nest lambdas. In Haskell, for instance:

Prelude> concatMap (\x -> concatMap (\y -> [x * y]) [0..x]) [0..5]
[0,0,1,0,2,4,0,3,6,9,0,4,8,12,16,0,5,10,15,20,25]

Prelude> [x * y | x <- [0..5], y <- [0..x]]
[0,0,1,0,2,4,0,3,6,9,0,4,8,12,16,0,5,10,15,20,25]

I'd take the latter over the former any day. And yes, I did get an obscure type error on my first attempt at the concatMap version because I forgot to bracket x * y.
a lot of lies in these paragraphs, like Ukraine being the poorest country in Europe.
A Giant Volcano Could End Human Life on Earth as We Know It
the landlord still had to allow his serfs to work their own plot/cottage on occasion; so they had to agree on some form of time management, even without clocks or candles.
Hi Nick! Happy to answer from my point of view. I just reduced one of my packages to 1/1000 its original size: https://bundlephobia.com/result?p=drive-db@5.0.0

There are several reasons that I like small packages, both when making them and when consuming them:

- Easier to maintain. One packages does a single thing, it's easy to reason and compose with other packages. This is specially true for utility packages. It's easier to document a single thing, to debug a single functionality, etc.

- Faster installs. It does take several minutes under certain circumstances to install larger packages/projects for me. Not everyone using tech tools live in a world with fast internet. Sure this amounts to ~30 min/week max, but would prefer to use my time differently.

- You say 30-50mb, but my typical React project is 80-100 MB in node_modules. As an example, my current laptop is ~4 months old, and the "projects" folder has 670k+ files and weights 6+ GB.

- Copying projects. While you talk about binaries, it's usual that it's either a single minified file with a decent size, or hundreds/thousands of dependencies. While the size itself doesn't matter so much, the amount of files matters for things like backups, searching in files, etc.

- Signaling. People who care about this, normally won't throw a lot of dependencies on top of it if it can be easily avoided. So you know there aren't many surprises normally or Guy Fieri images: https://medium.com/s/silicon-satire/i-peeked-into-my-node-mo...

- Marketing. Many people care about it for these or other reasons. Everything else being the same, a smaller package is better, so there's no disadvantage if you can easily shed some of the library size. I don't care that much, especially because of what you say. But some people seem to do.

- Tooling is easy! Rollup, webpack, uglify, etc. There are many easy (okay, not Webpack) projects to bundle and minimize a project, which are needed from front-end JS.

Now, I wouldn't optimize at the expense of usability or dev time. For instance, the two features I removed from `drive-db` were removed because they were half-baked. File cache ~> replaced by in-memory cache, which also allows for browser and Cloudflare Worker usage (the main point for refactoring). MongoDB-like queries? ~> JS today is good enough not to need those for a small spreadsheet. They didn't work the same as MongoDB, and not even I, the library author, used them ever.
Nostalgia is part of it.

The other part of it is a genuine desire for a more difficult, time-consuming, socially-driven game.
Micron dabbled in this. 2003 project Yukon (shutdown in 2004) and again 10 years later with 2013 “The Automata Processor” (erased from their website).
Show HN: Yarnlink – connect with world class mentors
Connecting driven people with mentors possessing a track record of success. Focusing on specialized medical residencies at the moment but mentors in other industries welcome!

yarnlink.com
As one of those people, I really don't like pixel art at all.

I don't like pixel art either. I assume it is easier to make pixel art than good looking sprites. I think the article touches on this.

but on on the barely 14" CRT in my bedroom. We didn't have huge pixely sprites, they were small and blurry.

This is true for consoles, but not really for arcade games of the era, which have very crisp, very pixelated graphics, like the Link on the left.
I'm literally upset at the US for being so closed for immigration. If it were just a little more lax it would have a lot more than what it has now.
Full Stack is more than Front end: Every engineer needs to be a DevOps engineer
You’re missing the part where they say that diversity is needed because the target audience is diverse. The goal of the Manhattan project was to deliver a working nuclear weapon. Consequently its hiring practices were in line with this goal. Consequently your example of yoga instructors and psychologists (I’m sure there were psychologists consulting for the Manhattan project, however), is something of a strawman.

What was being discussed was the idea that a company or organization that wants to appeal to the populace at large should have a workforce representative of that population at large. I think that’s debatable, but you can imagine that having someone on staff who can say “this is offensive (to my group of people)” can be useful to an organization. In this case, “I find this offensive” would not be a political or cultural message, but an actionable piece of data that says “For our goal of appealing to the populace at large, this statement/product may have lower, or negative, utility in appealing to this part of the population we’d like to like us/like to sell widgets to.”
IIRC, the US Army Corps of Engineers also built/repaired the levees in New Orleans in the wake of Hurricane Katrina.
No, it's just the US tech bubble. When my whole country and some was suddenly denied all google services for several hours, including CDNs, DNS, all cloud, gmail, android app store, gdocs, all everything, it didn't make any news here either, despite being much more disruptive, affecting 10+ million people, and being a much more intersting reminder of how much techies make other people and themselves dependent on this megacorp.

All kinds of stuff broke, including "the entire internet" for people who were made to use 8.8.8.8 by their ISPs. E-shops that load jQuery from google stopped working, for no real reason whatsoever, people getting lost because they couldn't navigate anymore in the real world, etc.

Since then I try to flag all this repetitive nonsense about slack/github going down for a few minutes, to no avail. It keeps comming back to the first page of HN. :D
The first six months of my daughter's life were a lot like what you describe. She had "colic" (medical term for: we don't know what's wrong) and would never settle down until she started eating solid foods. After that, we were good. But those first six months, wow! I would get home from work and she would hand me our daughter and head to bed. It was like that for six months, no breaks.

Anyhow she is 14 now and she's a musician and is great at math, writing, and she does great anime drawings. We also have a second child, a son, 9, and clearly the five year span between kids was not completely left to chance.

I empathize with those who have true special needs children because just raising "regular" kids is traumatic.
But it’s by state, not by population, so it overstates the import of small states.
TIL the name pilcro; thanks!
It is a valid criticism when comparing to Json or TOML
Thanks for the feedback. Check out templates, we have many different ones, for business, for media, for startups and academics.
I also think measuring by value is particularly difficult. How do you compare complicated solutions against elegant solutions when the elegant solution is so nice it makes the problem look trivial?
Some googling finds the following:

- OpenInternetAccess domain name registration is privacy enabled (who isn't)

- VanwaTech runs this VPN, according to their website

- The phone number listed for VanwaTech is (315) 754-4728

- This number is also the contact for Northwest Hydropower (https://nwhydropower.com/)

- Northwest Hydropower hosts asic crypto currency miners

- u/Nick-Lim has posted advertising OpenInternetAccess VPN, Northwest Hydropower, and VanwaTech

Just so you know who runs this VPN.
There's a nice writeup about how the WoW team went about re-creating a 10-year-old version of their game with modern security and toolchains

https://worldofwarcraft.com/en-us/news/21881587/dev-watercoo...
It's very similar to me. Not only on a daily basis but sometimes even a week worth of nearly nothing and then a day worth a week.

The problem I see is that reducing working time per day doesn't necessarily keep the same productivity. If I'm 3 hours productive in a 7 hour workday, I won't spend 3 hours productively in a 5 hour workday. My productive time is mostly random.

For me the solution is not feeling guilty about slacking 50% of the time, because it's mostly normal, and having a manager that understands that. As a manager in the future I definitely want to keep this attitude and want to be understanding myself and protect my developers.

Also in a 1hour meeting that felt completely unproductive for you, you might make a single comment that turns out very productive for the project overall. And reading up on new tech or watching conference videos on YouTube might feel like slacking, but it also improves your worth to the company.
People ain't programming on whiteboards nor doing dumb test projects either. Yet vast majority of people are fine with such indirect testing.
The overall game play has changed over the years, been simplified significantly in some ways. There's been a bunch of private servers that have succeeded massively by running old school WoW, some of the biggest were killed by blizzard, this is an official offering of that basically.
pet peeve, but at least the C# examples (and probably others as well) can IMHO be written more elegantly:

Example 1:

static IEnumerable<int> GetEvenNumbers(IEnumerable<int> l) => l.Where(x => x%2 == 0)

Example 2:

static IEnumerable<FileInfo> GetFilesGreaterThan(int size,string directory)
{
DirectoryInfo dirInfo = new DirectoryInfo(directory);
return dirInfo.GetFiles().Where(x => x.Length >= size)
}

Example 3:

static void SolveProblem()
{
var results =
from a in Enumerable.Range(0,9)
from b in Enumerable.Range(0,9)
from c in Enumerable.Range(0,9)
from d in Enumerable.Range(0,9)
where (1000*a + 100*b + 10*c + d)*4 ==
(1000*d + 100*c + 10*b + a)
&& a != 0
select new {A=a,B=b,C=c,D=d};

foreach(var r in results) {
Console.WriteLine($"A={r.A} B={r.B} C={r.C} D={r.D}");
}
}

One important point is not to confuse List and IEnumerable of .NET. What is called "lists" in many languages are actually more akin to IEnumerable in .NET
That's a pretty big jump. In fairness I will say the salary was competitive to the company I left for the startup. That being said I had more RSUs that were already in flight to vest at the company I had left. This is how I negotiated higher options at the startup. The cash payout I was given didn't make up for what was lost moving to the startup and taking a pay cut.

That being said the culture at that startup was the best I've experienced. The people and the product were fantastic. So if I were to do it over again would I have made the same choice? I'm not sure and that caution purely comes from the culture and management of Splunk.
I wonder how long Blizzard can still stay in the game. It seems they 're only repeating themselves now. EA is boring but they keep doing their job, as for Blizzard they seem to be fully stopped creating things.

Recently they are only remaking old games StarCraft, WarCraft, World of Warcraft. Basically, the remake doesn't touch the functionality. They seem only want to juice money from their current market.

For more 'real' new games from Blizzard like Overwatch is Okayish, and Heroes of Storms (I can't even be sure about the name) are bad.

Anyway, I think I would play Classic for a while, but I guess it wouldn't be long. Although It was and still is the best game I ever played, without constant releases, it just won't persist - World of Warcraft doesn't mean to be modeled as a game with infinite replay value without new releases. And there won't be new releases because would be branching the game.
> Top execs need to be comfortable making less, as they are the only ones profiting off these productivity increases.

I know that would be the ideal world but... that's never going to happen under capitalism.

I'll die 50 times over before capitalists say "I have enough". While the world revolves around companies, it can't change. Companies have only one objective in mind: increase profits. There is literally zero incentive for anything to change, specially with more and more people in the world.

Edit: wording
Yes. Clan involvement. If you just play alone, you won't get as hooked.
You could solve these problems if you were willing to get a bit creative. For instance, the service could be provided by rural mail carriers.
I agree with both the other answers (reletting space and branding), but there's another one that's just as important; increasing rent.

If there's a shortage of space, having WeWork take a chunk of it off the market is only going to move rents higher. Also, whatever you sign WeWork at is going to set a significant comp in the market, which can again push rents. Businesses do like the idea of being close to a WeWork, so that's going to put more pressure on rents.

There are tenants that are great in bull markets, some that are great in bear markets, and others that are great in both. I would very much describe WeWork as a tenant that is a great bull market tenant, but that's about it.
For those interested, they at least have a medium size write-up how they created this technically:

https://worldofwarcraft.com/en-us/news/22646759/restoring-hi...

Here is a live blog of the Blizzcon talk:
https://www.wowhead.com/news=288407/blizzcon-2018-restoring-...

My take is one of the original programmers for WoW still at work's at Blizzard and helped great deal with this effort. They were also able to go back in their source Control and pull the code from back then and they've been different current code to previous code in various places to see how behaviour has changed. And then Ford porting old behavior onto a existing client.
- Safari shows a blank page, downloads it as a file, and auto-displays the content in TextEdit
It's just not the same game. This game features talent trees that the current version just does not have anymore. It is actually a feature that pushes you in a more social direction within the game that dungeons and raids are hard and you have to be a part of a cohesive group to experience the full game. And yes. Nostalgia as well.
> now throws ~30 errors on build

Yep, it's a beautiful technology, total type safe heaven.

Two basic basic rules if you want to work with TS:
1: apply the 'any' type
2: tweak TSC config so it won't complain anymore

All companies I worked for in the past few years that use TS did this to keep TS 'out of the way'. And with that you completely annihilate the main benefit of using TS! I think it's hilarious and sad at the same time.

I'm curious btw how long TS will live, especially when you realize that within a few years we can write in virtually any language through WebAssembly. Good luck with it anyways.
There will always be an audience for a MMO that walks the fine line between too punishing, and not punishing enough. It is, however, a niche genre, and the feeling that many are hoping to recapture with the release of classic will not exist anymore.

The game is, for the serious raiders, too simple. For the casual crowd, it’s going to be slow and comparatively unrewarding. The nostalgia hit for people who have played it before will wear off fairly quickly, leaving only those for whom classic WoW hits their sweet spot. At least for a year or two. What will happen once those niche players hit max level and run out of content to do?
Women Aren’t Better Multitaskers Than Men – They’re Just Doing More Work
Oh, I missed that. Thank you!
I would say not for men (but maybe for women?) - I mean, I (man) have been ordering the same thing (5 on the back and sides, scissors on the top) for the last 30 years pretty happily, and most of my friends have a similar "standard" haircut they always ask for i.e. "short back and sides"

I know many hairdressers won't actually accept pictures (this might just be a weird thing in my local area though?) because too many people end up upset that they dont look exactly like the celebrity in question.
Depends ont the MMO as well. For example I only play FFXIV and that's very very single player friendly with a huge focus on story. Same with FFXI that became single player friendly with the Trust system tho that's an old school MMO (akin to Everquest and such)
I feel the same. The problem is, companies use this heightened productivity to pile on more and more work. So I struggle to get things done, even on time, when I'm context switching a lot. Part of this context switching is self-distraction, part of it is work distraction.

People are known to not be good at gauging their actual work hours. So, when people say they work so much, I'd be skeptical of those claims.
I ctrl-s or :w every time I take my hands off the keyboard. A friend of mine, considerably younger, was lamenting that their computer crashed while they were working on a 3d model in Maya and they lost an hour's worth of work because they hadn't saved. I was in absolute disbelief. I pressed the issue, there was no good reason to go without saving every time the file changed, it's not like the program got bogged down when they clicked the save button. They trusted the auto save feature. We had two completely different paradigms.
I hope this article gets enough traction that Google changes its position. Even on the grounds of green technology.
> I can’t see what the Chief Executive could possibly do

Your assumption that HK doesn't have any autonomy might have something to do with that ;)

As to what she could do: she can do a lot; the protestors have a list of 5 demands, one of them is the withdrawal of the extradition-bill. She could comply with that, for example.
The point isn’t that you know; it's that the vast majority of Hong Kong people know.
>Is it just nostalgia for the "classic" version

Yes, pretty much. The reason it has been getting so much fanfare is that people have been trying to play vanilla WoW for over a decade on private servers, but kept getting shut down by Blizzard's legal department. Blizzard refused to host a classic server for the longest time leading to the infamous condescending quote "You don't want that ... You think you do, but you don't"

https://www.youtube.com/watch?v=0Wrw3c2NjeE
As an alternative to rolling your own, you may be able to leverage IEX Cloud. Advantage is access to all high res trading data right on the platform ;)

https://iexcloud.io/cloud-cache/

https://medium.com/@jun.ji/build-your-own-neural-network-sto...
> he told me I had to work 16 hours a day to be successful.

"Success" in what sense? When have you succeeded?

How much should a 16h/day workweek pay for it to be a "success" if you have kids? Would the kids agree on the assessment?
> The 40h a day week and modern-day work contracts come as a direct evolution of medieval servitude, with little modification.

Not really, they come as rather significant modifications of early capitalist servitude, won at a substantial cost in lives.

Early capitalist servitude did itself evolve directly from feudal servitude, but it got much worse, in economic terms, in the process. It usually came with at least notional political freedom, though.