skysight-inc/HackerNews huggingface dataset:
That is interesting but I still don't totally get how DP is different from simple memoization.

Your fib example can be expressed as corecursion, and in fact, its an example often used to explain it.

val fibsViaUnfold =
unfold((res0, res1)) { case (f0, f1) => Some((f0, (f1, f0 + f1))) }

fibsViaUnfold.take(7).toList shouldBe List(0, 1, 1, 2, 3, 5, 8)

That's scala, but should work anywhere where we can produce a lazy stream of values.

Here is a python version from wikipedia

def nth_factorial(k):
n, f = 0, 1
while n < k:
n, f = n + 1, f * (n + 1)
yield f

Is DP a techique to arrive at the corecursive solution?
Shocker, I know!
“Lying” is strong, but it’s over-promising and under-delivering. It’s reasonable to take their current goals with a large pinch of salt.
It's a new frequency space that can be auctioned off, so they can try to set new rules requiring expansion of coverage and local roaming. So in theory the exact opposite of "the only trustworthy and reliable partner is T-Mobile." Of course none of the triopoly like that proposal, so it's not clear yet whether those new rules will actually be implemented or not.

If it weren't for these political considerations, expanding 3G coverage instead would be cheaper and likely good enough for most applications. Especially the self driving car stuff where 5G is always touted as necessary: if it can't work without constant network connection, it's not safe enough to be deployed on the streets.
You should do both! :)

Start writing a book and keep writing posts on some of the details and use them to collect emails of people interested in buying the book once it comes out. Also, get on twitter for the same reason.
I call BS on this. EVERY autonomous driving expert agrees that Tesla is years away from Waymo or GM, and years away from their own claims.
How did classical music in movies and TV become synonymous with villainy?
And the developers are paying a fee every year just to exist on the app store.
> and because malloc/free don't enjoy the bump-allocator style happy case that is used in generational GC's nursery objects.

Performance-optimized use of malloc and free involves using custom suballocators (often called simply "allocators" within user code) which are tailored to the "happy cases" that you know about in your code. A "nursery" of objects that can be bump-allocated and then freed in a single operation is known in this context as an arena/region, and you absolutely can exploit this pattern as part of using malloc/free.
Sony owns approximately 50% of the console market.

How much of the smartphone market does Apple control?
>>if Spotify didn't mind the 30%/15% cut. Spotify simply can't direct users to use their website to use an alternative payment system.

No they cant, that is a violation of Apples Policies and would result in the App being removed, Amazon tried that with ebooks years ago. You can not redirect a user for payment inside the app, to a payment system outside the app.

>Regarding the walled-garden App Store policies of Apple, it's not friendly to enthusiasts and some developers, but it is good for most Apple consumers, and helps less tech-savvy users trust Apple's App Store.

It is not an either or option. I think Google has struck a good balence, Their App store is pretty locked down today, but if you know the "hidden" menu and what steps to take you can easily unlock the device and install alternate stores and apps.

There is zero security reason why Apple could not supply this type of hidden unlock for people, it is pure monetary control that they desire
No, I’m not. Facebook’s scale and business practices is the problem, not the social graph or feed. Facebook sought to make friction re: sharing and signaling as low as possible. The result is obvious. But that outcome is not inevitable or fundamental to the technology, it’s a conscious engineering decision made by the firm.

Unrestricted broadcast access was understood as a problem with radio 100 years ago. Society controlled that with a regulatory stick and will likely do so again.
I don't have anything against hatchbacks, in fact, every car I my wife and I have had except two more than a decade ago have been hatchbacks.

Perceiving the US market to view hatchbacks as conflicting with luxury of not having a thing against hatchbacks.
At my first company, there was this one file in the solution that we called DaVinci.cpp because it was over 20000 lines long and written by one developer who had long since retired. The thing is, the code was complex and worked so no one ever refactored it.
Amazing work :) It's very passionating to read also.
It's either Android or iOS really. I'd love for a decent alternative to exist but if you don't want Google tracking everything you do, Apple is the only option.
i think the borrow checker may indeed be a rather large paradigm shift, and im super interested to know if you can get used to it and be as productive as you are in c++ or if it is innately harder. to me it is still hard to work woth but i habe 30 years of being ised to C or garbage collection
Or fortunately, depending on your sociopolitical views, assuming you're talking about universal basic income?
All three are commodities and thus replaceable. No nation
technically has to have any of the three but in practice they all do. Relying on external imports for agriculture has generally been a poor idea for any nation which can avoid it for reasons of blockade/siege vulnerability and stability and price stability but it is in fact perfectly possible to sell art and buy wheat from Russia or anybody else on the market longterm.
> especially without any lights on during day (btw why the heck is this not mandatory everywhere, all the time? it can literally save lives every single effin' day).

Nope. This kills cyclists and motorbike riders. Our eyes/mind get used to headlights and don't see any speciality in them anymore which leads to overlooking those as they are just part of the normal scenery.

In former times, when only motorbikes were driving with headlights in bright daylight, you were much more aware of the fact that there was a "special vehicle" approaching you.
> I think the field should pass Hyperscan, not catch up to it. There are a number of things about HS that I'm increasingly uneasy about.

Right. I meant it as a short-hand way of saying, "it will take a while for the field to catch up to the battle tested knowledge you've accumulated, of which, some is expressed inside Hyperscan." :-)
Resource provided uses a very naive approach to determining the outcome of an AB test. It's not accurate, given the very small numbers.
Your argument doesn’t make much sense. You can use unsafe and raw pointer to do EVERYTHING you can do in C/C++ and it will be just as safe as you write it in C/C+. And then, you can (ab)use the type system to make sure you or your team cannot use it in the wrong way.
1st amendment rights apply to people. They should not apply to corporations.
What Facebook employees are going to stop various entities from buying ads, promoting posts and seeding various corners of the platform with propaganda memes?

If you don’t cross the line and violate the community standards the answer is nobody.
You have two choices: either be stuck in the past and look backwards with “what if...” “would I...” never ending thoughts, or literally just stop that downward spiral, put the past over, take the best and learn from it and look forward.

Been there. It took me way more time to look forward than it should because I did not have the support I should.

And for a lot of people, but not all, being stuck in the past with ruminant thoughts is more likely. Other people ends things quickly and just look ahead. While the past did happen, it did.

Now look for your nex 10 years or 20 or more years, and look backwards. The way you choose to solve this, the actions you take will define you.

Hope this only makes you stronger and let it go.

Note: What I did is to add myfailed startups as “client” jobs.
It's probably to keep things working through a change in steam.
Highest suicide rate per "group" in my country is for "young females or a specific religious denomination". I wonder if the high suicide rate in Lanka can also be isolated to some sub group, that usually help in trying to figure out the cause.

In case of the afore mentioned group of girls: they have a lot of pressure on them from family (basically to be "perfect" for some often arranged'ish marriage).
Ex-Netflix here. I left at the tail end of 2016 & was making 320k then. No bonuses, but they did give you [an additional] 5% of your salary in options at I think 40% of the strike price. I assume it is still that policy.
> The downside that the author points out seem to be often neglected. Constant interruption and battling with the type system during development, when mental overhead is a problem.

Dunno about Rust specifically, but I have written a little Haskell, and a significant amount of OCaml. I found that the type system reduces my cognitive overhead, compared to looser languages like Python or Lua. The compiler is disciplined, so I don't have to be.

In practice, with few exceptions, when the type system is refusing to compile something I just screwed up, and I'd better fix my mistake right away. I'd wager that with few exceptions, when Rust is refusing to compile something, you are making a mistake that in C++ would have bitten you down the line.

What you call "fighting the type system", I call "fixing bugs".
$10M sounds like spare change for DARPA?
FridaysForFuture
Show HN: A simple Prolog Interpreter written in a few lines of Python 3
This is a wonderful project. Well done. You might just inspire this software engineer to take his first crack at hardware. :)

One somewhat personal question, if you don't mind. You say you are Portuguese. Is English a second language for you? I don't see the telltale signs of a Portuguese -> English speaker (I have a lot of experience interacting with Portuguese speakers, and their English mistakes are pretty uniform due to the specific differences between the languages, esp regarding prepositions and tense). Your article, as many have noted, is beautifully written even for a native English speaker.
In Germany the university playing field is much more level than elsewhere. While certain universities stand out in certain areas, it’s not a deciding factor in most cases. Many of the small town universities are actually quite renowned.

The big divide is Universität vs Fachhochschule (university of applied sciences), which are in many fields considered inferior unless they have special profile (eg highly international).
Even if you didn't install it, one of your steam friends probably did which included you with it :O
Marketshare matters less than whether consumers empirically switch to competitors in response to price shifts.
> Because they have no need to. Why deal with the backlash when they own the market?

They didn't always own the market. Steam was not embraced by PC gamers when it debuted, yet Valve never asked for exclusivity agreements while it was growing and still doesn't ask for them even as new competitors emerge.

> What do you mean “than anyone”.

I mean precisely that, more than literally anyone else selling games anywhere at all. The fact that no one else even bothers doesn't detract from the fact that they try.

> They never charged a dime for it because they were trying to expand their hold over the market.

Years ago, that was a worthwhile argument. A happy alignment of interests. But now, when it is incredibly unlikely they're going to close the OS and force everyone into a walled garden? Seems wasteful of them to expend as many resources as they do on things like Proton.

> You definitely can’t say it’s objectively great because it could be a lot worse.

Um... what? I can't say it is really great because hypothetically it could be worse?

> A single player dominating the market is almost never great for anyone.

I don't disagree at all with that sentiment, but lets give credit where credit is due here. Valve earned their position at the top for a variety of reasons, and notably they aren't trying to use that position anti-competitively. Isn't that exactly the kind of behavior we want to acknowledge and support?

I'm not going to give Epic a free pass just because they're not Steam, especially when they pull the anti-gamer shit they pull. There's already GOG and itch.io, which I'm much happier to support if I want to support someone for not being Steam.
I have a non-porn tumblr with over 100k followers and following the ban traffic has plummeted.
Apple has chosen to be the sole gatekeeper of what runs on the phone. That choice has costs, costs which Apple should bear.

Before Apple's IAP system existed, Apple didn't seem too worried about the App Store not generating enough revenue to keep them afloat.

> reaping all of their benefits, while not contributing back to the service or platform which allows them to exist in the first place.

Please, you're acting like Apple is providing the App Store out of the goodness of their hearts. No, they do it because a healthy app ecosystem drives iPhone sales, and the lack of such would destroy the iPhone's viability as a product.

It's a symbiotic relationship: the app developers benefit by having a place to sell their wares, and Apple benefits by having apps that their users want and need available on their platform. Except that Apple is abusing their end of the deal by engaging in anti-competitive behavior in some app categories.
That is not how genetics work.
I have started to see a worrying trend were developers focus more on how easy it is to develop X rather than how good of a finished product is X.

It makes sense for developers to want development to be easier and for businesses to want it to be faster but it feels lazy and cheap to actively avoid tools that would help us produce better programs with much stronger guarantees in the name of ease of development.

It's not like rust's checks are arbitrary. If you wanted Rust's safety and guarantees in C++, then you would still have to do all the things the rust compiler is doing for you.
How to Use Software Fundamentals Outside of Programming
2008-2010: Waiter: 6£/h

2010: Intern 4$/h

2011: Intern about 6400£ after taxes for 2 months

2013: 28k/year

2014: 40k/year

2015: 55k/year (£)

2016: Contractor with full employee benefits, remote, python, startup - $75k/year. Small bonus after the startup was bought.

2018: two remote contracts. Working 6 days a week for 12h. After taxes and all my expenses - I live very comfortable lifestyle - I was saving for retirement 10k USD a month.

Now: 81k$/year. 9-to-5, remote, python. I live in central Europe, so I save up about 40% for my retirement. Not sure how to invest money, most likely I'll start my own start up and copy something from US.

My life is really great. I wouldn't trade it for 250k+ Silicon Valley job.
Yes, I don't have much data to work with, and was also surprised that the calculator considered this significant. But even without significance, I assume it still makes sense to go with the winner?
But it's quite interesting that Apple seems okay with not taking a cut of e.g. Uber, but does want to take a cut of Spotify. Why should they be treated differently?
key wrapping works fine. massively simplified: generate random secret, encrypt data with random secret, encrypt random secret with password, store that. so when your password is updated, you only have to update the encrypted random secret, not all the files.
> The only solution here to establish "fairness" as you want it is to abolish any marketplace fees entirely

Or the owner + controller of a market place shouldn't be allowed to enter the market place and abuse their controlling position to surpress competition. Financial market places have many regulations like this.

So perhaps the solution as some propose is that Apple Music should be broken off into a seperate company and then will have to pay the 30% charge and compete freely on the same grounds as spotify as Apple falsly protestest it does.

Other one is that alowing alternative app store so that there is not a monopoly and that 30% price can actually have some competition to find a more realistic level.

But Apple would never do any of those, they dont want fair competition and love their lockins.

The alternative thought as well, I payed for a phone I should be able to buy aftermarket apps for it without having to give apple a 30% cut for everything I buy.
Optimistic and/or naive people are not exempt from being held accountable. Regarding this particular case, Karpeles was handling lots of money and clearly 'cooked the books' for his own advantage. We know that.

Also, from my own personal experience, startup culture is full of lies and deceit, and investors are not always big money firms looking to land its next unicorn exit. Regular people also invest in many startups.

There can't be special rules is all I'm saying. We need to improve 'startup culture' and one of the ways of doing that is by holding people accountable.
> Should be put at the entrance of all social media platforms.

This might be not necessarily true - when one uses social media account with his personal, official name, contains content that prove it's identity then it is quite safe to assume that this social media account is just digital representation of this particular real life person. So in this case if someone has personal grudge against this person then why it shouldn't be propagated to online presence?
Playing PUBG in India Can Land You in Jail
I think it's optimistic to think that they would have removed you manually. The test probably just ended or the bug was corrected.
About 50. Some colleagues on the same level work more but I’m just too tired after that.
if it were malevolent, they'd just load it into ram and send it to the server without persisting on the drive... (and without asking)
This was discussed in the sibling thread, but that 90k€ is definitely before taxes. It's exceedingly rare to make that much after taxes, perhaps unless in senior management.
Thanks for your work with Bulma. I love using it :)
Southern New England, not in a metro area. White male, stubbornly refusing to leave his hometown area for his career.

2009: $25 per hour, contractor, on site at giant pharmaceutical company. Built a web app using jsp and tomcat

2010: $55k per year, University IT department. Building web apps in python for university staff. Crazy union contract- 35hr work week and 5 weeks PTO

2012: same job, same benefits, applied for a "reclassification" in the union levels. $75k per year.

2015: $85k per year. Onsite, big media and entertainment company. Cut my teeth building highly available distributed systems.

2017: $135k per year. Remote. Jumped ship to do similar kinds of work at a remote-first startup that could pay more.

2018: same company offered me a raise (without my asking!) $150k per year.

I've never worked more than 40 hours on a regular basis, but production issues occasionally produce a 60 hour week, maybe twice a year or so.
I love this. I can see this being extended for cars, kids, car keys, etc. Would love this in Europe.
> That's basically capitalism in a nutshell

That's an edgy tankie teenager's definition of capitalism in a nutshell.
The pioneers were the studios using Watcom C++ on MS-DOS, while others were still being dragged into Windows with plain old C, while complaining about losing hardware access until Wing was released.

And the studios that were forced to adopt C++ when the PlayStation SDK required it.

So nothing speaks against other languages getting over the same kind of acceptance issues.
eventually, but -- creative will go AFTER doctors/lawyers/etc... I can't wait for politicians to go.
Just let me download the mp3 and play it on whatever device I choose. First I need a iPhone $1000, then I need a Internet service with enought data to stream HQ audio $50 /month. Then I need a (Spotify or other) subscription $30 /month. Why not let me buy the songs/albums from some web page/app !?
Tim Berners Lee’s Letter on the 30th Anniversary of the World Wide Web
I can see how it might have, in isolation, but the trickle of qualified people dried up well before that. Nobody wants to work for a fucking moron unless they’re corrupt and think they can turn it to their advantage, or they’re a true believer.
Exactly! When used in moderation, even 'fear' works in your favor. When overused, it can incapacitate individual.
I went to settings (gear thingy->settings) and set "conversation view" to "off."
Read this as "Intuit" parents... and was very confused.
Yes and yes. The work life balance was one primary motivation among other things.

I don’t have aspirations to buy a Porsche and I would have taken the job for much less. I was genuinely surprised when I got the offer.
Well, going by some of the false positive reports about Tumblr's NSFW filter here I'm not entirely sure we could call Tumblr "production ready" at the moment either, heh.
Top best Japanese companies which has become household names in India
> They are having a good ol’ time learning C or Pascal in college, until one day the professor introduces pointers, and suddenly, they don’t get it.

That's the first day, surely? That's how I remember it. You're not going to wait with explaining pointers, right?

And I don't think anyone didn't get it, despite being Engineering students rather than CS students.

It just seems like a huge exaggeration to me.
Big fan of pointing out hate agenda of others, that leave details out to make their points.
More or less USA and Germany both want democracy, albeit with their local flavor. Free trade, human rights etc. If US spies (and gets its way), Germany might get their execs jailed for corruption or might lose a bid for, say, airplane engines. If China / Russia spy and get their way...we know what would happen.
If Spotify wasn't on iOS I would move back to Android in an instant. I don't like Apple services because I don't want vendor lock in.

I use Spotify because they're independent and support a large number of devices. This is just like how I use Sonos because they're independent and support a large number of services.

Apple benefits greatly from having high quality, third party applications on iOS. Wasn't the lack of third party apps/support one of the big issues with Windows Phone?
I Still Use Medium
DOSBox is a sandbox and I mod DOS games all the time as a hobby. I can run modded games in Sandboxie, or in containers in Linux. I fail to see how sandboxing is at all incongruent with modding.

Unless of course by enforce you mean taking control of the sandboxing away from the user, in which case I totally agree that should not be done because I'm against that kind of user-hostile bullshit.
Whether using a monorepo or not, you should be creating versioned artifacts that are stored in a separate artifact repository, and different sections of your codebase (whether sharing the same repo or not) should express dependency via consumption of versioned artifacts from the artifact repository.

As a result, sometimes you can even require _more_ tooling to adequately handle dependency in a monorepo vs multiple repos.

When you consider that a default natural constraint of all software development is that it must adapt and cope with changing tools, usage demands, etc., then it quickly becomes important to allow any given project to use arbitrarily unique build tooling, deployment tooling, libraries, languages, databases, etc. Trying to shoehorn them all into a mandated set of monorepo tooling just doesn’t work, once again meaning you often need much more tooling to reach minimum required levels of flexibility with monorepos as compared with polyrepos.
/r/rust thread: https://www.reddit.com/r/rust/comments/b0erei/why_i_rewrote_...

You'll notice the top rated comment, & majority of comments, agrees with their decision to switch to C++. Yet we'll persist that Rust is an elitist community..