skysight-inc/HackerNews huggingface dataset:
I haven't encountered formal methods in the wild since I left university in 1998. I don't know of anyone in my wider circle of friends using formal methods. Using it is by and large a niche thing in our industry. You see it pop up in places where people are desperate to commit millions in extra work just to avoid disastrous failures. I've never worked in such places. Use of formal methods is a last resort in our industry: you use it when you've exhausted all other options.

That being said, in the same period of time, people have learned to appreciate static typing and unit tests. Unit testing was not a thing until people started pushing for this in the late nineties. Around the same time, computer science students were infatuated with languages that were dynamically/weakly typed. Now 20 years later, type systems are a lot less clunky and those same people seem to be upgrading their tools to having stronger types.

E.g. Kotlin has a new feature called contracts, which you can use to give hints to the compiler, which then is able to use the extra hints to deduce that accessing a particular value is null safe. This allows for methods called isNullOrBlank() on nullable strings (String? is a separate type from String in Kotlin). So, calling this on a nulled string is not an NPE and even better, it enables a smart cast to String after you call this.

Also, annotations are widely used for input validation and other non functional things nowadays. I think annotations were not a thing before around 15 years ago (I might be wrong on this). I think Rust is a good example of a language with very strong guarantees around memory management.

Compilers of course have a very big need to be correct since compiler bugs are nasty for their users. So, there is a notion of some of this stuff creeping into languages. Combined with good test coverage, this goes a long way in being minimally intrusive and giving you stronger guarantees. But probably calling this formal methods would be a bit of a stretch.
> What is the difference between an async method and a method that returns a Future?

There's no difference for callers of the method, but you can only use await in methods that are async.
I've tried mass neutral diet and it didn't work. Somehow my body was able to sustain 105kg on about 1000kcal daily for two weeks. After that, my mind broke and I thought about food like a narcotic, just couldn't continue that diet.
Not with that attitude :)
An async method can use await within it. A method can return a future but not be able to use the await keyword.
Possibly silly question: what would happen if one were to extrapolate? I mean, using the trained model in a larger grid.

I should do it myslef but have no background in applications.
I'm still a CS student so I'm not quite yet ready to specialise. Late last year I went through the Gang of Four book on design patterns in software development. The patterns described in this text are widely applicable to most/all forms of software development. Reading this book was making me immediately see where I'd previously struggled and that there was already elegant solutions.

My question, in regard to game design, is what principles from this field could be widely adopted, or adapted in other subfields?
Unless I'm missing something, this is 100% possible. Now, if you want to carefully control the version constraints of these, welcome to pinning hell, but that's a different problem.
It works like in every other language that supports async/await. Compiler will convert code inside async method into a state machine to prevent it from locking thread during await calls.

If you don't uses async you have to do compiler's job yourself.
Have I missed it or are there no results in the article? First he has a long intro, which is nice. Then he goes way over board explaining his data and code. Then he talks about his mattress. If you've seen results can you point them out to me? Thanks.
I didn't realize that the name recognition was so regional in this space. I remember traveling internationally years ago and looking at Yelp for recommendations. After reading a few reviews and seeing what restaurants had the highest ratings I could tell that it was mostly used by tourists, not by locals.

I know for restaurants the real money is made by expanding and sharing the suppliers, management, advertising, but for something like a delivery app I'm not sure what the benefit of growing quickly is if you have competition outside of being first to (that local) market.
Blockstream to Develop Liquid Network-Based Products for Japanese Crypto Market
How to Tell If You Are a Plus Size Women Looking for Men
Not sure what's up with it now, but Etoile seemed to have a very interesting implementation of an Obj-C runtime: http://etoileos.com/etoile/features/runtime/

I would have hoped to see something with a more dynamic runtime than we ended up with with Swift. That said, while it feels like a big win to dynamically recompile, say, calls to retain/release into simple atomic increments/decrements, or dynamic calls into direct calls, in practice the wins never seem to appear. Is it just because no-one tried hard enough? :-)
Next level of political digital culture: Alexandria Ocasio-Cortez
I really want Chocolately to suceed, but so many packages are outdated, and there are a lot of duplicates, so you often don't know which one you should get. I find the web UI very clunky too.
Most Debian mirrors support https. But HTTPS alone does not help you vs fresh connection if it is a rotating certificate like Lets Encrypt that has a dubious authentication chain.

Egypt or Turkey can issue valid fake certificates so you would have to check it if it's not one of those.
Scoop has support for dependencies, and it is really easy to fit into PowerShell scripts :)
Yep. I think I'll literally stop taking Android upgrades because of this. Just few years ago I'd get really excited every time new version of firmware was released for my phone, but now I loathe it - every single damn time the interface changes and you can't do anything about it. Like now I have taken the upgrade to Android Pie for my OnePlus 5T, and....the clock moved to the left now. Ok, google for a solution - nope, can't move it back to the right. Someone somewhere decided that this is "better" so the customer has to accept it. Like you said, I'm getting really fed up with this - is it my phone, or not????
You're right!
I agree with your "90% kitchen / 10% gym" for weight loss, but to maintain your weight I think the gym is more important than that.

The problem with people doing hardcore diet is that they will lose a high % of muscle, and after their weight loss their basal metabolism will be really low.

The gym itself doesn't burn that many calories, but increases your muscle mass, leading to a much higher basal metabolic rate, which in the long run, help you not to gain fat easily.
Good luck eating 3500 calories of ribs. Easy calories come from carbs so unless you drink the sauce the ribs are glazed with you’re not gonna make it.
Using a Custom Domain with Google Mail for Free
AirPower to Launch 'Later in 2019' According to DigiTimes
Money, the FAANG companies have dried up the senior pool so the only developers are available are mid junior or graduates. Hiring is hard.
License Zero
Absolutely, but why would that preclude formal methods?!

In fact, this is exactly what I was thinking about when writing the last paragraph of my comment.
think this is a bit of an overstatement, because it implies an often unrealistic separation between writing specs and writing implementations

Every government IT project that is years late and billions over budget is because of this
Formally Verified Software in the Real World (2018)
Problem being that such broken system might especially want to peruse package updates...
Most important papers in deep learning Theory (2017)
I guess it is for cross user install support but that can be achieved in other ways easily
> He said eventually he can imagine some country will allocate yards of lands just for a sole purpose of storing old dead Tesla batteries altogether, just like we store dead nuclear plant rods under sea or high in mountain's caves.

And most probably those countries/regions would not be the rich ones which now purchase Teslas like there's no tomorrow (think Norway, the Bay Area in California), but instead the toxic dump will be passed on to relatively poor areas of the world like the Campagna region in Italy [1] (with the added benefit of generating some extra business for the local Mafia) or the seashore of a sub-Saharan country [2]

[1] https://www.telegraph.co.uk/news/0/mafia-toxic-waste-and-a-d...

[2] https://en.wikipedia.org/wiki/2006_Ivory_Coast_toxic_waste_d...
If you have the time, I would absolutely go for a degree. As far as I know, University is free in Germany. If you can get into a CS degree, do it. You should be able to do a bachelor degree in 3 years, but you can probably do it faster because you aren't a distracted 20 year old anymore.

Self taught programmers take years to make up for their missing education. If you have the time to learn from very smart people for a couple of years, I don't know why you wouldn't do it.
How are arranged marriages (as they still exist now) not "limited choice"?
... and maximizing entropy makes for a terrible read. Good code, like child poetry, should be allowed to rhyme.
I did a water fast for 2 weeks. It was...kind of amazing actually, recommend to try it at least once if you can. One tip: when you are done and are ready to break it, introduce food very slowly, I didn't and it was unpleasant to say the least.
Deep learning papers of the year (2017)
Friedman's gradient boosting machine paper from ~1999 is worth a read: https://projecteuclid.org/download/pdf_1/euclid.aos/10132034...
What you should ask when talking over a code base
Yes, but not in Advanced Mac Substitute. :-P
Security is absolutely important. You’re right that most programmers don’t consider it and even my CS degree programming never emphasized security. However, I did a cybersec emphasis so I always consider the security implications of a system at the design stage. It’s significantly easier to build a secure system than it is to retrofit an insecure one.

One of the most important concepts is the principle of least privilege which is rarely ever discussed. Every tutorial I’ve seen, even paid ones, (this isn’t to say all of them) give their app master DB credentials. You could vastly improve your applications security just by leveraging your DB engine’s native access control.

For those using Postgres here’s a great resource for setting up RBAC: https://www.postgresql.org/docs/9.0/user-manag.html
>Programmers are everywhere, but a programmer that also knows chemistry or biology or economics or art history or just about anything stands out.

Really? I have a physics degree with some experience in rocket science, but my most valuable skillset (measured by how much pay I can fetch for it) is plain old software engineering. I don't think I'd be able to leverage my area of specialization to exceed or even match what I can get from FB/LI/G as a generic software engineer.
See OWASP's recommendations: https://www.owasp.org/index.php/Password_Storage_Cheat_Sheet

> Argon2[7] is the winner of the password hashing competition and should be considered as your first choice for new applications;

> PBKDF2 [4] when FIPS certification or enterprise support on many platforms is required;

> scrypt [5] where resisting any/all hardware accelerated attacks is necessary but support isn’t.

> bcrypt where PBKDF2 or scrypt support is not available.
Restaurants typically have a much smaller delivery area. Munchery delivered to a large chunk of the Bay Area from one kitchen.

Most restaurants typically have a mostly fixed menu. Munchery varied the menu daily.

I can't say what Munchery was paying its drivers, in a traditional restaurant or through the bullshit gig companies, driver typically make at or below minimum wage.

Most traditional restaurants farm out their site (e.g. bullshit gig companies will handle the photography and pay the photographers a pittance) or have a minimal online presence. Munchery had the overhead of maintaining much more of their online presence.

That said Munchery wasn't real-time delivery when I used it. There was an ordering window that closed by mid-afternoon. If I had to guess the constantly rotating menu created a ton of waste. Or maybe they were simply that bad at it.
I wanted to say this reminded me of those nonsensical word-problems given in school.
Sounds promising, unfortunately it seems that currently it does not really work.

"The problem was that the experiments also found that the patient's immune system was fighting the virus and effectively removing it from the body within three weeks, thus preventing it from completing its anticancer action."

Anyway, good that they managed to get research to the clinical trials level (it is not one more miracle cure for cancer that makes happy only laboratory mice and rats communities) and extends our knowledge how immune system works.
AI Being Used to Bust Netflix Account Moochers
Now it has a fallback to ipfs:// (in version 1.3). Thank for pointing it out. As I understand it will only work if you have IPFS Companion, right?
> you're better off with a PHEV or a conventional car

Wait... are you saying the future is not here yet? ;-)
I'll suggest three things to study:

- foundational networking concepts like ip, udp, tcp, dns, tls

- the difference between synchronous and asynchronous computation/communication

- core details of your programming language's runtime, like the concurrency and memory model
There is a substantial language barrier; articles like this keep using the word 'proof', and I can't figure out what they mean.

Each discipline has it's own standards of proof. In mathematics, the word means that a statement transcends the laws of time and space. In law, it means a group of 'reasonable people' can be convinced. In science it means that there is a theory with supporting data that has not been falsified. I'm pretty sure to the historians it means a tenured professor thinks it makes a good story.

Whatever the word means applied to computer science, it does not mean:

1) That the thing proved actually works (it can be proved correct, and still have bugs)

2) That the thing proved does what you want (extensively discussed here, the spec can be wrong)

3) That the thing will be useful (also extensively discussed; and I'd add that protocols like TCP, for example, seemed to get adopted because it was so simple anyone could understand it, it isn't obvious that being provable makes it more robust to network errors)

When I see people getting excited that they have prooven tail has types [a] -> [a], all I can think of is that some programmer will make "a" some sort of super object at the root of an object hierarchy, and then what on earth is being gained?

It is more obvious for cryptography applications why proofs might be valuable, but I suspect any data showing formal methods outperform more testing generally is really just identifying that design and scoping studies add value, and nothing to do with the merits of whatever 'proof' means here. 'Proof' might just mean that you have someone who can't communicate ideas in simple English and is going to give you a page of esoteric notation.
I think this falls under the why are you hiring a senior?

Because hiring a senior to ignore the problem is a good way to waste a lot of cash.
Don't worry, guys, there are infinite parallel universes in which each and every one of those possibilities (and many others) all happened. Take comfort in that. Or don't, it doesn't matter. Another you in another universe will in your place.
I read an annotated edition once, well tried to. The problem is if you actually pay attention to all the annotations pointing our references to this, influences on the text from that, digressions on the other it would take forever. The breadth and depth of the man's classical knowledge was extraordinary.
Ready-To-eat Meal Delivery Service Market Global Online Food Services 2018-2025
I realise I can find packages by scouring the GitHub repos[0][1], but I'd also appreciate a web search UI, especially as the number of available packages grows. This could also let me easily discover what version(s) are available etc.

I can't seen to find it, but does such a UI already exist?

[0] https://github.com/lukesampson/scoop/tree/master/bucket

[1] https://github.com/lukesampson/scoop-extras/tree/master/buck...
I guess it's a complex decision, but I feel like if I was running a worldwide business and a single country decided to impose a $100 billion fine (the scenario I was describing), I'd want nothing to do with that country. That's much, much more than the market opportunity that Google has in France. Probably I'd want to avoid operating at all in countries that have a chance of imposing that scale of fine.
No, apt then shows a message about failing to download fresh update lists. For security repo, the period it's 10 days.
SeL4 Microkernel: Security is no excuse for poor performance
Why for god sake emacs?
I feel the right word is 'Conscious AI'. AI in it's current form is very nascent, but does pretty well in specific use cases (image/speech recognition etc.). The true AGI will be the 'Conscious AI', which will be like a toddler, but learn about the world at exponential rate and perhaps become an adult in a month.
Now it's up again: http://sel4.systems/
I've used Munchery a handful of times back when they were prominently featuring local chefs. The sushi was always done by these two guys and it was always mediocre. The only other problems I've had came up later and were: they've shifted the menu to exclusively bland recipes by the Munchery kitchen and the delivery became unpredictable.
On your own hardware, I'd expect you to be able to have a blank project up in minutes, so yes, I expect somebody who's not travelling to our site to be able to take 5 minutes out of their busy day to create a blank project.
While we are discussing diets, anybody has a good replacement for snacks? Few years ago I realized I am really prone to stress-eating.

If I am not stressed, I can go about my day, eating 2 big meals a day (and a small breakfast), and even slowly loose wight.

But if I am under pressure I can eat another large meal worth of snacks. And I really don't like it, because then I am gaining weight really fast :-/ Anybody in similar situation? What helped you there?
Everyone has their own thing that works. Personally I calorie counted and lost 90lbs (250 to 160). I think the hardest part is keeping it off, especially if something is causing you to eat more than you should be in the first place or if you use it as a coping mechanism.
They're related only in the sense that a lunar eclipse can only happen at full moon, and a solar eclipse can only happen at new moon.
That's just not how software works in industry.

If by industry you mean “webdev” but fortunately “full stack engineers” don’t work on avionics or indeed anything important.
We have underground parking here in Amsterdam under our block of flats. The owners association discussed installing some charging poles. At 6000 eur/pole it didn't go down very well
My biggest issue with TLA+ is how detached the tooling and syntax is from what is used by developers daily. PlusCal is only a bit better, but has other shortcomings. A lot of what it offers can be simulated by writing data driven/parametrized tests with NUnit/JUnit (it can be a lot of effort and error prone though).

Ideally, I'd like to have a toolkit with less friction and to have more real life examples that show not just how to do the first spec, but how to write code afterwards, update spec with time, update the code, etc etc.
In designing Luculent (shown in the original article at http://app.programmingfonts.org/#luculent), my approach to was to use to reversed slash on the zero. It's somewhat unusual, but I did it precisely to avoid any ambiguity with the letter Ø that you point out. I could also have used a dot instead, but then that starts to look like an uppercase theta, Θ, at low resolutions. Squaring the zero a bit also helps.
Snack on vegetables.
>We change the schema in a way that is still compatible with the old version of the schema. Sure, this won’t work in many cases, but in some.

In my experience, doing DB migrations w/o downtime is rarely worth it and involves big risks of actually ending up having long unplanned downtime due to the process being prone to errors. Large majority of schema changes can be performed very quickly and couple of seconds downtime is acceptable in most cases.

Long story short: Don't do DB migrations without downtime unless you absolutely need to.

P.S. If your business guy is requesting deployment w/o downtime, make sure to have a conversation with him to understand why is that so. In majority of cases they make it more dramatic than it really is.
My receipts show the taxes im paying. I don't think I've ever seen the tax listed separately on the sticker in the US, so ive actually got less information. Without knowing the tax rate of the area I'm in for the goods in advance, I don't know how much I'm paying
I feel lucky that I learned about functions late in the game. I used to write php in long long blocks of code.

When I learned about functions I was very reticent to use them and very seldomly did.
My labs started deviating from normal in the wrong diection during 36 hr fasting in the hospital. Granted, I am very sick.
As some other people have pointed out, you have to pick the domain and application. Airbus controllers (abstract interpretation [1]), Microsoft software driver verification (SLAM model checker [2]) were ones where formal methods found use in the pre-2010 era. Since then, the domain has led to work that brings Excel the capability to auto fill data [3], toy demonstrations of how synthesize programs while verifying them correct [4], verify file systems [5], and now verify and synthesize smart contract code (whose deployments are expected to be permanent) [6]. This is just a sampling. There are many of other uses.

[1] Astree http://www.astree.ens.fr

[2] SLAM SDV https://www.microsoft.com/en-us/research/project/slam/

[3] flashfill https://www.microsoft.com/en-us/research/blog/flash-fill-giv...

[4] Invariant based synthesis https://www.microsoft.com/en-us/research/wp-content/uploads/...

[5] FS verification https://www.usenix.org/conference/atc17/technical-sessions/p...

[6] Solidity verification and synthesis https://synthetic-minds.com
> stricter hiring

Stricter hiring on the low-end perhaps, because in FAANG and the companies that copy them, hiring could hardly get any stricter...
I'm not sure I agree.

In the first example `await` is added before the Future creation and this causes immediate execution in the printed output (second version). In the first version both Futures are pushed onto the EventTask queue and are executed after main() has finished.

In the second example with method1 and method2, in method1 with async (which signals a Future) on the forEach, all three Futures are pushed to the EventLoop queue and execute after method1() has finished. In method2() there is no new Future being added and execution happens immediately with the end of method2 executing after all delayedPrints.

You also see the effect with all three Futures resolving at once in the method1 case due to all three being added to the queue at the same time each with the same delay. Whereas with method2 each print with a delay after due to this function being synchronous with nothing going on the EventLoop.
This is a very honest and informative historical documentary. I don't see any statments that would work in favour of some country or another's political agenda. Pretty rare we get these.
"Such a move may be dangerous, as it will improve the virus's ability to destroy cancer cells, but also produce a virus that is completely resistant to the immune system, and if it builds up mutations, it might become dangerous."

Much better premise than the Umbrella corp. of Resident Evil or all the other cliche zombie tropes
Back to 980px GitHub dashboard