skysight-inc/HackerNews huggingface dataset:
F# is a Functional/OOP language.

In this case the original code had a class like:

class DeliveryItem {
public bool isTagged { get; set; }
public Deliverer previousDeliverer { get; set; }
public Deliverer nextDeliverer { get; set; }
public string itemName { get; set; }
public DateTime lastTransferTime { get; set; }
}

The code would take a single DeliveryItem and each time something used it, it would update the properties on it.

While not ideal, this worked fine if pipeline was an ordered sequence.
The pipeline had grown into a complex graph, with many different possible states, and new properties were incrementally added to shoehorn the new states and transfers between states into the single object.

The class grew large and it became difficult to determine from logs what path of the pipeline that an item had taken. It could have been scanned, weight analyzed, compaction determined, etc, etc. And these didn't always happen in the same order because of the business process.

Instead I created types like `NewDeliveryItem`, `PreProcessedDeliveryItem`, `ThirdPartyVerifiedDeliveryItem`, etc.

It allowed for explicit modeling of the pipeline, since functions could take a `PreProcessedDeliveryItem` instead of a `DeliveryItem` and would know that they wouldn't need to send it for processing.

The example has been translated a bit and isn't the best explanation, but gives a small amount of detail.

You can check out https://fsharpforfunandprofit.com/series/designing-with-type... and https://fsharpforfunandprofit.com/ddd/ to get more information on how this can decomplect seemingly simple applications.
I think one thing that this really points out is just how much care Apple has poured into Terminal.app. It's very good, and every time I have to use another terminal application (ugh conhost.exe) I am reminded of this. It's got a bunch of really thoughtful little features (showing what processes are attached to the current pty, option-clicking to move the cursor rapidly, full mouse support for apps like vim, good linewrap detection, and recently support for rich-text copy/paste which is useful for showing coloured terminal output, etc. etc.), and it remains really fast and snappy despite these features.

On a related note, I am big into latency analysis and driving down latency in interactive systems. I'm quite familiar with the touchscreen work cited at the top, and having played with the system I can attest that <1ms latency feels actually magical. At that level, it really doesn't feel like any touchscreen you've ever used - it genuinely feels like a physical object you're dragging around (the first demo of the system only let you drag a little rectangle around a projected screen). It's amazing what they had to do to get the latency down - a custom DLP projector with hacked firmware that could only display a little square at a specified position at thousands of FPS, a custom touchscreen controller, and a direct line between the two. No OS, no windowing system, nada. After seeing that demo, I can't help but believe that latency is the one thing that will make or break virtual reality - the one thing that separates "virtual" from "reality". I want to build a demo someday that does the latency trick in VR - a custom rig that displays ultra-simple geometry that has sub-millisecond latency to human head movement. I will bet that even simple geometry will feel more realistic than the most complex scene at 90 FPS.
Let's hope they also add

(format t "hello ~a!" name)

for completeness...
I wouldn't pick it up because I'd be worried about fees for taking an international call. I don't know if there are actually fees though the uncertainty would stop me.
More likely is that the car would have a Linux box running this software that connects to one or more micro controllers. The micro controllers handle any sensors/actuators with real time requirements, and may be running an RTOS or just bare metal.
what about measurement/profiling
Easy, it is just a matter of creating a compiler backend for Java, Flash, Silverlight that target WebAssembly instead of their original bytecodes, then bundle it with their own runtime compiled via emscripten.

There are already a few projects doing exactly that.

One could even create a ActiveX compliant library, that via emscripten would be able to target WebAssembly.
Finally. So true. "Eating clean" is probably one of the best marketing campaigns in history; billions of dollars spent on products that make you feel healthier, but in reality, don't amount to shit.

It's all about calories in, calories out and macronutrient composition (carbs, fats, proteins). That's literally it.*

* Unless you seriously train for a sport, in which case the little stuff (eating time, micronutrients, # of meals, etc) matter.
Why consult a health professional if you're not going to trust what they have to say?

When a doctor tells a parent that their two year old is suffering from bipolar disorder and the way to treat that is to take a cocktail of meds then it's not the parents fault when they follow that advice.
WhatsApp messages are being blocked in China
مشاهدة مباراة بايرن ميونخ وارسنال بث مباشر اليوم اون لاين – NewsA – اخبار اليوم
It looks like your testimonial has been added to the project, ha.
> But why would you want to wear something like this, for that?

can't have other folks knowing you're looking things up on SO. it'd ruin your mystique.
I agree in principle, but I would personally never return to a doctor who had one of these things on their face (like the one in the article photo). I see all the use cases for field operators, but it remains (to me) as creepy in any interpersonal setting as it did with the consumer launch.
handmade hero.
https://handmadehero.org/
They closed my issue for a clojure style

(prn "hello world")

I was actually just looking into adding a hook for an automatic AST transformer so I could possibly call into Hylang.
The proper allocation of capital to working business. Are you arguing against the existence of the investment industry? How would capital move around, how would growth occur?
HN is the exact right place for comments like the one above.
Only until we have an ApolloGate scandal.
People like to compare the two but they are actually quite different. Bitcoin is supposed to be a store of value, Ethereum is a new decentralized web protocol. ETH is the gas used to power smart contracts on this protocol.
I love the deep aesthetic customization options (though they're really non-essential)

I love the tmux integration, I used tmux before anyway and it's honestly not that different if you used tmux's built in mouse support but focus follows mouse in terminal panes is a nice touch.

Displaying images inline is alright I guess but I don't actually use it that much.

There's a bunch of stuff listed on their features page that sound useful but I don't actually use (yet). Idk I suppose I haven't noticed any appreciable difference in speed.

https://www.iterm2.com/features.html
At maker faire SF there was a $10-$15 kids plastic watching making kit some association was selling. Search for Horology, AWCI (http://www.awci.com/). I have been obsessed with lego-based pendulum clocks for a while as well as how cuckoo clocks work.

This is the kit I saw btw (not sure about this particular seller): https://www.happypuzzle.co.uk/products/the-amazing-clock-kit...

I will pick one up for my kid when she grows up :)
That that I know of, but [after a brief stint using Hack] I wrote up a custom module that supports this functionality using curl in PHP 7 to spawn up multiple threads. It's a touch messy to implement, but totally possible if you want it.
EDI and other JIT Hub technologies have nonrepudiation as a core feature. I always wondered if blockchain could be adapted for that. If so then it would make sense for almost every B2B interaction.
If that's the case, I'm pretty sure the rest of the country is the same. My experience is in LA and the little bit I've seen in SF. Both of those places are terrible unless you're quite rich.

I am envious of people with a bedroom for each kid and a back yard, but I have heard anecdotes of people who move from a place perceived as high tax, like California, to a place perceived as low tax, like Texas, and their tax liability went up (because property taxes are much higher even though income taxes are lower).
Those mutual funds trade on your behalf every day.
I'm a huge fan of the fact this does weight conversions (cooking by weight is now my favourite, and I've been looking for a site that is just weights, so this looks like a win to me :-) ).

One note I'd make, though, is that US, UK and Australian cups are all different sizes. (and possibly others?)

And from the one recipe I saw it looks like you're using UK cups? But, possibly not as well... Either way, it might be worth calling that out, or allowing for cup-type specification similar to how you do for weights?

Somewhat related, some sites call out egg weights too, and that might be something to try and do here too? (Because, if nothing else, egg weights are often written on the carton which acts as a guide; even if people don't actually weigh them.)

Another thought, again... Some kind of showcasing? A la Github's explore, or even "awesome" pages? I might be off, but to me discovery is really important for recipes and I love browsing "cookies" or "desserts in a hurry" or similar; and pages akin to that with community curation could be nice?

Hmm, another random idea... Some kind of more granular forking to facilitate things like "do you have a stand mixer?" and that kind of distinction? (Coupled with "equipment switches" maybe?) In the past I've done recipes that required something I didn't have, and I've had to tweak fairly aggressively to make it work, but when/if it did work, maybe adding that feedback into the recipe would be valuable? e.g. user ticks "don't have a dehydrator", and recipe tweaks to "use your oven and set it low", etc.

Anyway... It looks awesome! Keep doing what you're doing, and I'll use it :-) Just some random thoughts that came to mind :-)
I don't seek more flashiness or colors. I actually appreciate the simplicity.

Thoughts on what the feeling could be rooted in:

I Think it would help with more than 3 recipes on the front page. That gives a feeling of emptiness that can be confused with loneliness.

I also think there could be a better choice of image cropping. One that does the trick of making them all one size, but that also lets me see the food and thus inspires me.
I use st on wayland: https://github.com/michaelforney/st with https://github.com/michaelforney/st/pull/8
You can write CoffeeScript to target Node...
The Lexus LFA Is the $400,000 Supercar Nobody Talks About
voting my comment would have more like a good HN answer ;)
When I moved to a Mac (2004/5) Transmit was one of the first bits of software I purchased. It was a bit of a revelation to discover that software could be so lovely- it really added to the joy of using a new machine.

Having said that, nothing was ever as fast as LeechFTP I used on Windows [http://www.leechftp.de]. That thing was magic - no ftp client has ever felt so fast.
Ask HN: Is there a database of Linux commands and their flags
While the obvious answer is `man`, what I'm after is something parsable so I can convert the contents into a JSON format for a project I'm working on.

Also, same question but for Windows commands (not Powershell).
Why is it OK for the exchange to charge fees from every trade motivated by profit, but if the government does it to redistribute, it is somehow labelled as "market distortions"?

Either fees on every trade distort the market, and in that case the exchange is distorting the market, or they don't have appreciable effects and the government can levy that tax.

My opinion is that this a political opinion, and pretending that this is an economic concern is just a smokescreen.
I think measurement/profiling in a case like this is hard. How do you measure maintainability without a large database of bugs, iteration performance, etc.

I wish it were an easier thing to do, but I think as far as maintainability and codebase size scalability go, it's hard to quantify properly without metrics that are usually only tracked in enterprises.

I'm trying to think about how to make this more clear in the original post.
Your probably looking for some working examples of dApps (decentralized apps). Install MetaMask for Chrome and visit one of these sites: http://etheroll.com, http://etherdelta.github.io, and http://oasisdex.com are all working examples of smart contracts at work.
According to Wikipedia it was started as, and at, a Swiss corporation, followed by raising a crowd investment.

So it was a funded corporation before it was a cryptocurrency.
Ok, but as I know France for good wine and Belgium for beer. I thought the weather was part of what made those special.
How can st be so slow? It's tiny and hardly does anything!
This is great -- lord knows that I could use them!
I can relate. I wrote an essay on this a while back:

https://www.nemil.com/musings/shinyandnew.html

Excerpt:
Pity the modern web or mobile app developer on Hacker News. As a full stack startup developer in 2012, you were building websites using Ruby/Rails on the backend, Backbone/Coffeescript/Underscore on the frontend, while deploying your app with Capistrano (or the relevant Python analog). By 2013, you'd transitioned to Node/Express/Mongo on the backend, Grunt/Ember on the frontend. In 2014, you'd switched whole hog over to the MEAN stack (now with promises), but experimented with Koa and considered a shift to Go (after the Express core contributor made the jump).

In 2015, you're using Gulp/ES2015/React on the front end, Express/Go on the backend, React Native over the native mobile languages, and slowly transitioning your system over to microservices with Docker. Soon, you'll be transitioning to Phoenix, figuring out if Angular 2 is the right choice - and maybe even plotting a world where Go can work on Android and where an open sourced Swift might fit into your stack. (I’m clearly exaggerating for effect, though this is a fair representation of what is popular in HN headlines)
Took a look into the source of the OS that I'm reading the Panic web page on. Absolutely disgusting that there's over 1.5M lines of code _in the kernel alone_. This is the kind of software bloat that is the death of our industry.
Ports are more about communicating with and managing the lifecycle of external processes in a structured way, if I understand correctly (I have lots of experience with NIFs and next to none with ports). It's not quite a FFI.

In the context of NIFs, long running could mean 100ms. The NIF API supports threads so you can always pass work to a thread pool and only block the scheduler thread for as long as it takes to acquire the lock on your queue. Or use dirty NIFs which I think are no longer experimental. There's also a new-ish function you can use to "yield" back to Erlang from a NIF but that kinda makes me nervous.
Ask HN: What about an online platform to validate ideas?
Hey there hackernews, me and a friend are building an online platform that allows you to validate your idea before you start building it.
The main difference between our platform and say a subreddit or hackernews is you don’t get useless feedback! Users sign up via Facebook, Twitter or LinkedIn, allowing you to check a bit of their background and helping you choose wether or not that feedback has value to you.
Say you think you have a good idea, all you have to do to get some external validation is deposit 50$ on the platform and post it to the community. The community will then vote and comment on your idea, and in the end, you can split those 50$ between the users that helped you the most. Are you willing to pay these 50$ to get your idea validated and discussed?
I suspect part of the use of a picture-taking drone is that NASA people on the ground can have the drone go take a picture of something right now, rather than having to interrupt an astronaut or wait until they're not busy with something more important.

Most of the ISS is probably connected to sensors and remotely accessible, but there are probably still a lot of cases where they actually need someone to look at something.
Thanks! All useful thoughts.
Very glad to see this :D
What are machine translation neural networks
Can it face you with one of its fans and run it at the same high speed as the opposite fan, to keep you cool, and take photos of you with your hair blowing in the wind?
Funko Pop Yoda Force Ghost Figure Is All Wrong
Or maybe not whole rails, but just fixtures the drone could grab onto. You could supply the drone with power and control signals through the fixtures, and the drone could kinda travel everywhere by just grabbing onto a nearby fixture, then releasing the previous one. Wouldn't that be great? /s
You probably have to parse the man pages. Explainshell.com does that, you might be able to use some of their code.
The ones that seem to take up most time and effort are:

Historical fencing (inc. teaching, wrote a book as well), target shooting, living history.

These require some reading of sources, language study, and so on.
Because I don't need the latest and greatest of every single piece of software, but subscriptions are always priced as if I do.

"Look, you save 25% versus buying our old yearly releases every year!" they say.

But I wasn't going to buy all their yearly releases. Most software I use isn't my main workhorse. I was perfectly happy running old Adobe software for years, even after high DPI screens came out and it didn't support them. So what really happened is they took my purchase-every-five-years plan and jacked the price up 300% for stuff that I don't need.

Being required to pay for updates that I don't want (and the current version stops working entirely if you stop paying for it) takes away any pricing segmentation and tends to be a terrible deal for hobbyists.

If you're a creative professional maybe Creative Cloud is a great bargain. But it isn't for me, and neither is a $10/month FTP client. So props to Panic for not going that route.
So does Transmit 3, which I still use when appropriate!
Since you seem to have more knowledge than I do about this, would you have an idea why COBOL is still around and not being phased out? Is there any particular reason they can't make a mainframe that you can program in Python (my poison of choice)? Or does this built-in fault-tolerance requires some specific language and most commodity languages aren't suited for it?

By the way thanks, I'll definitely need the luck. It will be cool if it succeeds yes.
CoffeeScript always felt forced onto me during the height of 37Signal's influence of software development trends at the time. At the only rails shop I ever worked at it was heavily resisted.

It was at the same time I was reading more and more of Resig blogs and books (Secrets of the JavaScript ninja) and I really began to learn and grok just plain normal JavaScript. I said to myself, "you know, this really isn't that bad"

Haven't looked back since. I hate the direction ES is going.
A New Look for Google's Transparency Report
Here's a side-by-side with Java and the PHP RFC for Generics.

https://pbs.twimg.com/media/DBYQXlYUwAAZt9t.jpg
Developer ergonomics is underrated. Having an easy to understand system that has no magic, and in 90% of the work has no dependency chains that you have to hold in your head can really help people avoid bugs by being able to focus on the intent and execution rather than the framework quirks.
They even have a specialized English dialect called simplified technical English to help eliminate confusion.
No, that wasn't the point. The claim was that Twilio was "mostly anonymous", which isn't true.
We've made this post to apologize and help spreading the word that buying upvotes is NOT normal practise on HN. Hope you understand where we're coming from.

https://news.ycombinator.com/item?id=14800247
Wouldn't the real solution here be to put real expiration dates on things that can harm you, and real expiration dates on things that haven't actually expired?

Like a "dangerous to use after 01/01/2019" label on things that actually are dangerous.

Other items could have labels like, "Safe for use until 01/01/2025 - Effectiveness may be degraded after 09/05/2019"
The statute says:

"(3) NO RESTRICTIONS ON SETTING TRANSACTION MINIMUMS OR MAXIMUMS.–A payment card network shall not, directly or through any agent, processor, or licensed member of the network, by contract, requirement, condition, penalty, or otherwise, inhibit the ability of any person to set a minimum or maximum dollar value for the acceptance by that person of any form of payment.”

It does not inhibit state or local jurisdictions from banning merchants from setting card minimums in their individual credit card consumer transactions.
"Reserving the conversation around pricing until after you are in contact with a sales person is often helpful" -> such a BS. Everyone in the world knows the reason behind that is charging differently for the same product according to a given company budget.
Hopefully the fate of TypeScript will be the same. If one wants Java in the browser, one can just create Java applets.
Mmm, from my view it was driven more by Rubyists who disliked that JS was much uglier than their chosen language. JS devs just write JS, because they know it already.
> Virtu is making about $2M/day. The value traded on a typical day in US stock markets is north of $100 billion / day.

You can't estimate it that way as they don't win or profit on all their trades. At it's height HFT was estimated to responsible 15-25% of daily volume by best guesses (it's some what obfuscated.) I'd be surprised if it was less than 5% today. Not just Virtu of course - all players big and small.
I suspect that it would only be recording audio; video recordings chew through the battery and would be unnecessary in most cases like this (perhaps the occasional photo of some symptoms would be very useful). I'm totally happy for the doctor to record my conversations with her; they'd be more reliable than the notes typed up hurriedly during or after the consultation.
It certainly makes "yesterday" a good day to buy.
Eat no sugars, no grains, and lots of fat. Also as far as veggies go, avoid potatoes and corn. Avoiding alcohol is best, but if you must drink, go for no-carb options like hard liquor. That's about the shortest version of it I can come up with :)
Is your repository public and/or are you willing to share? I am not looking to make this into a business myself but as a guy who is very frustrated that he can't properly organize his diet, I really want to use something like this.

Hell, if it can be improved to be usable enough and to partially replace a personal nutritionist, one might sell access to it one day.
You can monkeypatch str type with:

http://clarete.li/forbiddenfruit/?goback=.gde_50788_member_2...
sleeping.
The point is that you don't want to have anything on the music stand other than the music, because it has a tendency to fall off the music stand as soon as you turn the page. And if you could avoid having the music on the music stand as well, that'd be great, since then you don't need the page turns at all.

Smartwatch metronomes are also great in that they can tap you on the wrist instead of making an audible click. It's sometimes hard to hear the click if you're playing loud, and it limits their use to practice since you don't want anyone else hearing the click.
Yes, switching something heavy on cpu (mostly real mathy computations) from python 2 to Go - we could keep working eith current number of CPU cores/boxes and not having to like, double our expenses.
-Coming up with date ideas

-Coming up with small talk on dating apps

-Going on first dates

-Wishing there was an app for arranged marriage...
How Cities Are Making the Global Housing Crisis Worse