skysight-inc/HackerNews huggingface dataset:
It's great to see more comparisons and articles about ReasonML and this one is really concise! But I do wish articles were more clear about the relationship between ReasonML, OCaml, and Bucklescript.

> It is also interesting to look at what javascript was generated by ReasonML

This is where BuckleScript should probably be mentioned first. TypeScript is both the name for the language and the tsc compiler, since it's a single project. But with BuckleScript that's not the case.

> BuckleScript is the tool that transpiles ReasonML to JavaScript.

There's also the older js_of_ocaml (JSoO) project, and there's more great Reason/OCaml tooling for native, like esy and dune! It's really exciting, but these small details are rather interesting and it's important to highlight them to avoid confusing beginners.
Well, you know. You expect the violent person to be ashamed of themselves. That's a very bold assumption. A psychopath or sociopath won't feel a thing when they order their army to mow down peaceful protestors.

It's a beautiful idea really. But when you are given no option other than to fight, do you think it's wrong for them to do so? Jewish, Armenians, Chinese under Japanese occupation? Might have not mattered, might have. I guess it depends on the person. An exaggeration of course compared to the issue at hand, but it seems wishful idealism. In some cases, yes, it works. But when your adversary doesn't care, it's quite ineffective. Game-theory wise I think equal repercussion works quite well, where violence is met with violence in order to prevent it from happening. Sure not always, but if there is no punishment it's simply much too advantageous to use violence if it solves the problem.

I mean school bullies probably won't stop unless you hit them or they get some sort of punishment. Sure you'll feel probably mighty wise if you don't resort to violence or any kind of resistance, but it's unhelpful if it doesn't stop it. And in the meantime you'll be suffering tremendously.
How do you define diversity though? How do you slice and dice and at what point do you say it is done?

Say I am a hiring manager at Mozilla and I hire a college graduate from Rwandan not because he is best but because of a diversity quota. What if there is also a Sudanese grad who is looking for a job or a Nepalese transgender MtF? How do I decide at that point?

Is it my call and only my call or should there be regulation and legislation to deal with situations like this? I have one spot and many diverse candidates. How do I choose?
Even with nicer glass in dedicated cameras, they will likely never have the software features that phone cameras do. Like "night shot" on Android for example. I'd love to see something like Android auto for cameras, because camera companies traditionally suck at software. Let me buy a box of glass and a sensor from Sony or Nikon, but it interconnect with my phone for any brains it needs.
Funny — unemployment only appears so low because gig workers list themselves as employed full-time. [0]

[0] https://axios.com/gig-economy-employment-economic-data-effec...
This seems like the winner. Although I would tweak it to looped list
cool!
great classic movie, beautiful city!
It's a proxy for a wider point about website obesity crisis. In the past 2 years, I upgraded from 8GB to 12GB and now 32GB, in big part driven by whatever it is my browsers (both Chrome and Firefox) are doing while running Slack, Messenger, GMail and HN.

(I honestly don't care much whether Slack has made performance improvements in the past few months, because I recently switched to the combination of not keeping it active in the browser, using the Android app, and using Ripcord client on desktop, which has sane system requirements.)
> Slack takes ~60MB in my FF now.

400MB for the standalone application last I checked, and that was after the newest upgrades that should make it better IIRC.

That is about 5% on a 8GB machine, and typically a much larger procent of the available RAM once you realize that a lot of those 8GBs are used by the OS and possibly other necessary processes.
When phone cameras got reasonably better (Nexus 5X) I started to carry my DSLR less and less and after a while I completely ditched it. I was still clinging to my 5X before the Pixel 3a came out because there wasn't any reasonably priced phone with a decent camera.
I'm building a project in ReasonML right now with reason-react. The Reason-only parts are actually a joy. The problem is interop with the wider ecosystem, and bucklescript.

They are serious problems. You end up writing a ton of [@bs.... ] annotations to get things to work together that ultimately result in runtime errors.

I hate battling a compiler (with sometimes quite cryptic errors, particularly identifying syntax errors) only to find that I can't actually free myself from the same type of errors I'd see with regular old JavaScript.

I can dig through my discord history and give more specifics. But given the massive learning curve and poor tooling that exists these days it's a step backwards from mainstream production JS development.

That said, the community has really got some wonderful folks out there, and is very helpful. I hope they can figure out interop with basic JS like promises. And tooling. And let me use async/await. And make bundle splitting easier to implement.
Interesting yes.

There's a great Freakonomics about the history of supermarkets which turns out to have been a major force in the cold war. USDA pushed and supported cheap mass production and even transportation, making what we now expect in a big, well stocked market with low prices and wide selection. We set up modern demo markets in the Ukraine which probably hit home, literally, because the Soviet markets were bare and droll. This tech was even studied by the Soviets but they couldn't reproduce it.

It seems hitting the stomachs was just as important as hitting the minds and the missiles.

http://freakonomics.com/podcast/farms-race/
Thanks for the link, looks like there are some good tips on there! I'll try it out tonight.

One of the problems I've ran into is that my external 4k monitor (40") runs at 100% scaling and my laptop 4k monitor at 200%, which causes all sorts of rendering bugs. After some searching I found that this has nothing to do with the X1E or Ubuntu for that matter. It's a X11/Wayland issue that just isn't properly implemented yet.

Edit: it looks like this guide also instructs to switch to 'discrete graphics' in the BIOS. This is a hack and not what you want. This causes the nVidia graphics chip to be always on (instead of letting the OS choose). This causes terrible battery life. Don't do that.
What's 1000x worse than working on small code fragments, is designing programs by talking in meetings. Management types are drawn to it, not software geeks.
This is awesome! I'm stoked to see the GraphQL community getting this polished of a tool. Chris Coyier wrote on css-tricks the other day about the best GraphQL API being one you write yourself, which is super true as the ones offered by headless CMSs and the like aren't ever customizable enough. I can't imagine a spec though that can be met between what 8base is generating + custom resolvers.

Congrats 8base!
Happy to be an example against discrimination. :)

People should be held accountable for such views. It should be clear to anyone that having "an opinion" which discriminates a whole group of people is not that same as sharing an opinion about Star Wars..
Tell me if it stays at 400MB after a day of use.

EDIT: Thanks for the data points. It's better than I expected.
That doesn't solve login in from a different device. And if you cleanup cookies for whatever reason, you lost the progress. So no, cookies don't solve the same problem as a user account (with login from a "trusted" provider) solves for saving the state of progress by a user on this game.
Solar is not cheaper than coal. That's nonsense. The storage problem is yet to be solved. Economics won't get us out of this mess.
Standalone cameras lack the killer feature of availability.

"The best camera is the one you have with you."

Every potential camera owner already has a smartphone. This means the standalone camera purchase has to compete with the existing smartphone ("free"/marginal cost zero) and an upgraded smartphone with a better camera (already desired future purchase, so nearly "free"), and for the existing photography hobbyist - the previously purchased DSLR (also "free").
I guess it just shows your privacy is not that important to you, which seems always to be the point with many posters here who, while complaining loudly about google, present rather minor reasons why they can't use firefox ever.

That being said, while I vaguely remember there being huge icons at some point for a few versions, there aren't any now in my Firefox. Just a normal looking menu with small icons on the left and text on the right. I can't promise this is true for every platform, but maybe you want to take another look.
If she earns 20% less, she probably just negotiated not that good. Not everything is some structural problem.
Why Is Your App's or Website’s User Retention So Low?
Google accused of secretly feeding personal data to advertisers
I have no formal CS education other than basic programming and computer security (was an HVAC-engineer), and find that I outsmart the “fast hamsters in their wheel with a CS-degree” because I check with them regularly and try to find all my ‘unknown unknowns’.

Reading up on (overview of) all the SQL functions is a good start.
CVE-2019-15718: Missing access controls on systemd-resolved's D-Bus interface
FT direct Link: https://www.ft.com/content/e3e1697e-ce57-11e9-99a4-b5ded7a7f...
But the other side hasn't, so in your case its 50% increase in utilization (1/2 parties uses Airbnb). If you had use Airbnb, it would have been 2 more houses per 2 vacation trips.
> very relevant qualifications to the claim of "An Array with Constant Time Access and Fast Insertion and Deletion"

Why would the author need to add qualifications to the title? That is literally and exactly what the data structure is.
Finding right place to work is tricky. My experience in Germany: public research organizations have funny salaries, but job might be very interesting and fulfilling. Small owner led companies can be great with great conditions, but can also be exactly opposite. Big companies pay best, it’s a good argument to stay there at certain age.
But being a nurse is more social than software is. And that aligns with what we know about the differences between where women tend to excel and where men tend to excel.[1]

And of course you can then argue that parts of software are more social and my argument would be that there are more women in those parts of software.

[1] https://www.psychologytoday.com/us/blog/rabble-rouser/201707...
> If the industry is chewing up and spitting out people as a matter of course, perhaps the problem is with the industry rather than the people.

Or with wrong expectations that people who go into the industry have.
The ergonomics of an actual camera for zoom, focus and most setting changes are still way superior... So I don't find the comparison apt.
The first amendment guarantees freedom of religion, freedom of the press, and freedom of speech. Those are fundamental values of the American culture from its beginning.

That's not "broken" just because you don't like it. We chose a different path from the broken European model.
ORMs are the technical solution to a social problem. From a pure technical point of view, a "Database" (with capital D) that allows for user defined functions (see Postgres) with a canonical "Domain Schema" expressed in SQL (DML & DDL) is technically superior.

The social problems imo are:

- (contrary to blog's assertion) most programmers are scared to death by SQL, and are far more comfortable with iterative programming than declarative/functional programming in SQL.

- ORMs in part also addressed organizational issues. Databases used to be the domain of DBAs. ORMs to a large extent wrested the control over the "Domain Model" from DBAs to Programmers.

From a purely technical pov I believe that the facility of user defined functions (c.f. Postgres) permit for complete and coherent structural and semantic description of a domain model in the database. However this is nearly universally hated by programmers as it requires programming in the database.
For me it's when images are printed at A4, A3 upwards that the benefit of a good lens+decent-sized sensor combo becomes obvious. But how many people do that?
My wife and I rented a full-frame mirrorless from the local camera store some months ago because she wanted nice pictures of our first puppy. As it turns out, this experience went much like a take-home test drive for a luxury car. After a few days, we returned the camera to the rental desk then walked ten feet and bought an identical unit.

We paid $3500 for the privilege with no regrets (so far). I forgot pictures can look so good: high resolution, pleasing background blur, and most important it's just a camera. It doesn't have reddit, or HN, or email, or pinterest. It sits about the house where we can grab it quickly. It goes in the day pack on hikes. It blows every other webcam out of the water.

And it has smarts to compete with our current-gen iPhones, which we increasingly tuck away to combat distraction. Fast autofocus and face-recognition are lifesavers and often outperform the phones. It's like photography on easy mode. Which it should be considering the sticker price.

I get that the best camera is the one you have with you. But we carry our phones less and our camera more. It's silly and sad that we can't exercise more self-control. But from our privileged perspective, a dedicated camera was a great investment in our quality of life.
From the title it would seem it is boiled down to a completely statically-typed language, but it isn't.

e.g. type casts are no-ops. Instead, every object access is type-checked at runtime. `any` still exists and for unions and complex types it still performs full lookup by name (instead of RTTI/tagged unions or such).

So it's not really a static language, but a cut-down JavaScript runtime that instead of optimizing objects with hidden classes at runtime, does similar thing with vtables ahead of time.
> 4G is fine for video, it’s really fast!

From what I understand, it's fine when it's just you doing it, but not when 20 other people standing next to you do it at the same time. 5G is supposed to improve on that.

> What I lack is cheap data on my phone otherwise I would watch Netflix on it right now.

That's, unfortunately, the problem with telco business shenanigans. Where I live, I managed to extend my contract from ~3GB to 22GB for something around $10-$15 monthly. I have plenty of LTE to burn on Netflix now.
According to that chart, interchangeable-lens cameras are holding steady. The 2019 entry is only for the first half of the year, so we can't draw any conclusions there (most camera sales come in the second half). Other than that it looks like interchangeable-lens cameras had a peak around 2012, but are still up a bit from a decade ago.

Probably smartphones are eating in to a certain kind of enthusiast market, but big glass and big sensors can give you things that are just optically impossible in the form-factor of a phone. If only camera manufacturers can do good smartphone integration, I think they have a bright future.

Point-and-shoots are toast for sure though and I doubt anyone is surprised.
Why is it surprising? Cantonese is one of the largest subgroups of "han".
Can you also benchmark against std::deque?
Apple to Launch Cut-Price iPhone
I agree with most of what she says about being a software dev, expect, for the long hours - how many companies has she worked in? I have worked in 7 companies over the last few years (mostly as a contractor though a few were permanent) and in not one of them had employees working more than 40 hours a week.
How would customs know? They would need to test them, which seems unpractical.
Sure, https://pbs.twimg.com/profile_images/955472286353518592/UBXQ...
Yes, we are planning to launch on product hunt. Thanks for your suggestion and appreciation :)
Yeah - I've never had to use a db that didn't support them.

It's almost unimaginable for me!
Nope. The bosses are wrong. People are finite. Cant just keep eating people forever. Shit comes back eventually.
Ask HN: What are good online ressources about the travel industry?
Hello,

I work in the tourism and traveling industry, mainly for state institutions.

I am looking for relevant online resources to expand my horizon and outlook on trends and practices in marketing and technology that are used to promote locations and/or activities.

I am not familiar with the US situation and actors. I can find Arival conferences speakers, google their name and go from there, following experts, but I would like a bottom-up approach that would highlight some local successes for smaller structures (I am thinking of bed and breakfast, local visitor center, small actors setting up experiences, localhood, etc.).

So, not looking for global thinking but rather for local and actionable feedback.

Thanks in advance :).
Thanks for the suggestion. I was afraid that it will be too dense. I'll give it a shot.
Development of code is a technical action. Can you explain why a secondary action outside of writing code is required simply based on the results of the code?

Surely you aren't suggesting that for Google to develop anti-privacy code would require them to have anti-privacy social development?
Seems like you're just reinforcing the original point by failing to understand the distinction being made.

You make the point that all cars 'on the road' do the same thing. Then you take a photography example that's not equivelent to a standard 'road' journey.

A wedding would be far more like taking a normal car to an F1 race. In such a case an F1 car excels in that particular form of driving in a narrow set of circumstances, and yet you still could technically take it on a road if it were legal to do so.

In a similar vein, 'supercar' cameras are highly specialised tools requiring significant support to get the most of them - large lenses, powerful computers and skilled RAW conversion. Not entirely dissimilar to specialist needs an F1 car might have.

So you can certainly take a 'supercar' camera as your daily driver but you'll face a ton of hassles and extra work as a result.
As far as I understood is esy uses dune and dune uses BuckleScript, so they aren't alternatives.
Safe and peaceful is not the same thing as free.
The most surprising thing to me is that one submitter gets dinged for a line break in review, yet another submitter can re-order logic, (seemingly) without being reviewed at all.
This is usually the more important part and the part most projects hide. 14MWh in 24h is about .5MW = 500,000W. For comparison a Pentium has to dissipate about 100W, so it's like 5000 Pentiums.

The Pentium has a big dissipator that is directly under a fan, that has another fan(s) nearby to get more fresh air. And the Pentium runs at ~50°C that is like 30°C(15°F) over the room temperature. I doubt this absorbed gets so hot, so the temperature difference is probably only a tenth of a degree, so the dissipator must be much bigger. (Dissipation is not linear in fluids, so a 1/30 of difference of temperature usually means more than a x30 bigger dissipator.)
That sounds likely. When Britain colonized Hong Kong, it took them more than 70+ years to pacify the people.

Especially after the ‘67 protests, that resulted in 51 deaths.

China is hoping the next generation will be more friendly. Like how the people of Macau are.
It depends what industry you're in. If you go to work for a boring corporation that doesn't do anything interesting then you will find it boring and unfulfilling. Or you can work for a company that has some kind of ethical mission and you'll probably find that better. Its the same as any job really.
Google can’t fix the Android update problem
I guess you hate novels as well? I enjoy long indepth character centered articles and I think many other people do as well. The point of reading doesn’t necessarily have to be about acquiring the most information in the densest representation.

Also if reading the article was a total waste of your valuable time, why are you commenting about it?
> Disrespect for revenue-driven decisions

I think thats the one that hurt you the most.

https://www.kalzumeus.com/2011/10/28/dont-call-yourself-a-pr...

Code quality and developer experience matters because it enables you to quickly use a codebase to solve business problems. But you still have to focus on business problems.
Let’s see if it’s possible to say the same exact thing, except in the reverse direction...

“Every camera does almost exactly the same thing, with a few variations in details like optical vs. digital zoom capabilities and memory space.”

“When you’re going about you’re daily life and need to take a picture, you don’t care if it’s an iPhone camera, an Android camera, or a fancy DSLR; all of them will capture the photo nearly the same, aside from minor differences which often require a professional to discern.“

“If you show up to drive around a race track, you’ll be expected to bring a high end car with... [you get the point]”
What??? Maybe in Silicon Valley, but everywhere else in the US if you’re a programmer you’re in the top 25% incomes locally, probably higher. In Austin, a good front end dev and you’re living in pretty much any neighborhood you want.
Any suggestion? Would love your feedback on this problem.
Mine is 118.8 + 125.6 + 182.5 MB = 426.9 MB after about a day and a half.
Quite a few people have declined for the current POTUS, but then again, would you want cold fast food and rhetoric shouted at you in the Whitehouse?
AWS need to add a button/option to ebs to have volumes be automatically backed up by aws itself. Without this few will do it or are even aware that it’s possible to do.

It doesn’t help that ebs backup takes forever, especially initially.
I agree. I was just pointing out that my old d7100 + 50mm prime is better than a phone camera, but as you say it doesn't matter for most use cases.

Part of me wants to sell all my dslr gear and the other part wants to get a mirrorless z6. It's a weird spot to be in because I have plenty of pics that would have been very hard, if not impossible to capture with a phone. But, I want to lighten my load when traveling.
> I think it's absurd to suggest that women as a whole can't handle the hours and demands of software development.

I didn't suggest that at all.
But a lack of diversity is a sign of a lack of meritocracy: clearly not all talent gets an equal chance to flourish. Trying to get more talent on board is valuable.
>Recent 15 years

Impressive how arrogant and ignorant this statement is. 15 years ago is 2004 and fk how superior am I to eat meat since 80’s in a third tier city
Show HN: Enoki: autodiff, vectorizer and GPU JIT compiler for simulation code
I wrote this article (a while back) on my upgrade experience to Juno, and finally got round to publishing it. I used Quliter to compose and Write.As to publish. Finally shunned medium, as I just fell out of love with it, and haven't had the time to build something myself so this works perfectly for me.

I previously wrote a bunch at the start of using the OS, and now I've been using it for almost 3 years.
move to Phabricator! https://phacility.com/phabricator/
I read this exact same comment on Reddit. Word for word. Very strange.

Edit: Its same user id, probably this user just cross-posted.
FWIW people do buy Pocket.

https://getpocket.com/premium?ep=1
How does Hong Kong legislation work? Do all bills need to be individual, separate bills? Or can they sneak in an unrelated bill into a more popular one?
I hear this a lot but here in the USA I never saw a phone with the OS for sale that worked on my carrier. I still wish they had done FirefoxOS laptops.
Show HN: Now what do I read? Enter a book and get recommendations
It would know, the wSpeedsSupported field on the device tells the host which speeds the device is capable of.