skysight-inc/HackerNews huggingface dataset:
Ask HN: Porting existing desktop or Electron applications to Sciter
Please let me know if someone need help to port existing or design new application using Sciter Engine.

On average Sciter application is 5-10 times smaller than similar Electron or Qt one and distribution size matters. Yet smaller the application - the faster and manageable it is.

Contact email is in my profile or "Contact Us" at https://sciter.com/
He definitely couldn't take a customer base used to and desiring sales and "convert" them to an alternative. To what degree you could seek out and train a customer base to non-sales non-negotiable prices is less clear.

I personally like the information provided by ads. It provokes me to do research. I view the first search results I get as similar to ads. It educates me on how to refine my search.
Yes, I know all of that. I wasn't saying it was magical, I was saying that in that particular code "amb expressed in terms of the List monad" is an accurate description, but "amb function" isn't really true. The monad is doing 100% of the ambiguous operation and the "amb function" does 0%.

As an analogy let's say I define "(" to do write to stdout, and "print" as id. Even though "print(4)" works as expected, my "print function" is a lie.

Or in C source code where adjacent strings get merged, I could [#define CONCAT ] so that ["ab" CONCAT "cd"] gets preprocessed to ["ab" "cd"] and parsed as ["abcd"]. But I didn't actually write a concatenation operator. The concatenation happens because of something else, it would happen even if you didn't use CONCAT, and you can sprinkle CONCAT all over your source code with no effect.
What is “info management”?
To a point, you get used to it. But also, it's an ever-present aspect of human existence. See Schopenhauer, for example.
I'm a little confused as to who even submitted the case if the procedures were consensual. Did a LEO just see someone without an ear one day and grill them about it?
> It is not because the apps were nefarious.

The FB app targetted young people and literally installed a VPN profile that routed all internet traffic through Facebook servers.

Essentially full network packet-capture of everyone who installed their app. That's the definition of nefarious.
MY sample size is 40 years.

And there are other studies that go back 100+ years with similar conclusions.

https://faculty.fuqua.duke.edu/~charvey/Research/Thesis/Thes...

So it isn't a perfect indicator over 100+ years, but its still a damned good one. Furthermore, there are solid fundamental economic principles and calculations which back up the thesis. Yield Curve seems to predict GDP (or more specifically: the market participants predict a recession, which causes the market participants to buy/sell bonds in a specific way to make an inverted yield curve).

This isn't some hokey theory positioned by bear websites like zerohedge. This yield-curve inversion is a fundamental attribute taught in major schools of modern economics.

http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.519...

> The historical record does not show this connection to be only a post-WWII phenomenon. The yield curve inverted between June 1920 and March 1921 and again between January 1928 and November 1929.7 Data from the 19th century are incomplete and do not easily lend themselves to analysis.8 Nevertheless, support for the thesis of the
yield curve as a predictor of business cycles can be traced as far back as the mid-1800s.9

We're looking at a pattern that has been relatively reliable since the mid-1800s.

Inverted yield curves STRONGLY (but not perfectly) predicts recessions over a period of ~150 years, and perfectly predicted recessions of the last 40 years. This is one of the best indicators of all of economic theory.
Bashttpd – A web server written in bash
Comparison of JavaScript Charting Libraries for 2019
DeepFashion2: A Versatile Benchmark for Fashion Image Understanding
Es'hail-2 Amateur Radio Satellite Now Online
Iliketrainskid's Minecraft Skin
Thanks for providing an example! I wonder how many custom solutions there are :).

> I wonder if I can generate a 100% ready to go PDF invoice. That would save a lot of tedious and error prone steps where I manually create each invoice based off a template in Google docs.

This is my goal too. In parallel comment, I pasted an example table with line items. I wrote the code making that table some 9 months ago, and I've been retyping values into a LaTeX invoice ever since. I finally decided this is too annoying and error-prone to continue, and for the past couple weeks I've been slowly building up an end-to-end system, but with an explicit review step (I don't trust my own code that much).

As for time tracking format, the standard org-mode clocking feature appends a block under your TODO tasks that looks like this:

:LOGBOOK:
CLOCK: [2019-02-07 Thu 10:44]--[2019-02-07 Thu 13:37] => 2:53
CLOCK: [2019-02-06 Wed 14:27]--[2019-02-06 Wed 15:00] => 0:33
:END:

This block (called a "drawer") is automatically folded, so it doesn't clutter your org file as you work with it, but it's there in the plaintext. As I work, I mark a given TODO item as "active", either directly or via org-mode agenda, and when I'm done, I "clock out"; Emacs populates the :LOGBOOK: entries automatically.
Mobile Safari is the worst offender.
I see now about a month ago it was renamed gopls, at least for the user facing command.

https://github.com/golang/tools/tree/master/cmd/gopls

There's also a vscode directory, so maybe it's worth checking out. I'm guessing it's too soon, but at least I know where to look more closely now.
> * If you backup the whole file system while the database is running, you may end up with an inconsistent (maybe unrecoverable?) backup. You need to use a file system with snapshots like ZFS or BTRFS, or use PostgreSQL’s own tools.

This is true for any sort of mounted database. Always dump the database separately from any FS backups.

Another good idea (but not a replacement for backups) is to replicate the DB to a read-only slave which you can either make the master or recreate your master from.
The ineffectiveness of lonely icons
Maybe migrating from bashttpd:

https://github.com/avleen/bashttpd
Many Go programmers refer to themselves as Gophers actually after the mascot the same way university students might refer to them selves as Jaguars, Titians, or Aggies.

It's hard to google a good example but here's one I found:

> A creative and passionate community of Go developers and users (“Gophers”) has grown up around the language, and today there are U.S. Go conferences, European Go conferences, […] even a group for LGBT Gophers (yes, “Gayphers”).

https://blog.newrelic.com/technology/golang-experts-follow-o...
1991 - the year punk broke.
Apple makes billions from Google Search each year
How it's made: I2CDriver
Is there an issue with keeping up with different credit cards that get created as CC companies try to create new products (i.e. do you have classifers for “realness” that do not require staying exactly on top of trends in CC design?)?
This is true with any arbitration. If you sue someone it costs about $500 to get the case started in a government subsidized court. In private arbitration, it costs about $1,500. The person initiating the case has to pay, not the defendant. In this case, the drivers are initiating the cases so must pay the initial filing fee.
Show HN: Autocert – use TLS to access internal kubernetes services from anywhere
> Insurance provider profits are capped by law

Doesn't that give them incentive to make things cost more, as their profit is capped as a percentage? "Oh I can only have 2% profit, fine we will lobby and push for new tech that make surgery b cost 10x as much.
>The colorful graphs in Taleb's blog post here obscure the fact that his claims are completely unsubstantiated.

More than this comment that doesn't offer any?

Taleb makes some quite specific arguments, and the graphs are quite illuminating as well.

Check the "IQ and wealth" graph for example -- it looks like a total scattershot outside of the bottom left corner that everyone could predict (intellectually challenged people -> low income). That alone would be enough to justify the entire post.

>He's also extremely condescending (bordering on dismissive) to a variety of disciplines.

That's good in my book. We need more colorful characters and less hive mind and institutionalism. Then again I prefer Feyerabend to Kuhn, and Tom Waits to Michael Bolton.
To my eyes the main difference between today and ancient societies is lack of central narratives. Greek philosophy was hung up on appeals to nature, souls, and the greats unequivocally believed in a creator god of some kind (not the Pantheon). Today philosophy is much more detached from these ideas that were once central. Today a rational explanation of reality leaves little necessity for invoking God.

Greeks could take solace in the unexplainable by chalking it up to a creator's will. We don't have that luxury anymore. Science has been so powerful in explaining reality that the natural instinct is no longer to invoke theistic reasonings. We take the wait and see approach.

Well wait and see is antithetical to narrative building. Yet at this point there are no other tenable stances to take. Agnosticism is the only justifiable stance to take, but it is a very unfulfilling one for many people.

There are smaller narratives around today such as humanism (and capitalism?), but they are not all encompassing. Would love to hear others' thoughts about the (in my opinion) unqiue philosophical setting three centuries of deferring to science has left us.
Example?

Templates (template metaprogramming) help to avoid exceptions. You can check invariants first and jump into efficient code.
https://outline.com/4AgPdu
I feel like this was a part of a chrome experiment in the early days of html5.
It's not just Jira. Asana spins up the fans and causes UI hangs like crazy. The other day on my personal macbook my UI kept freezing for a few seconds at a time and... sure enough, I'd left a Trello tab open by accident.

For whatever reason, project management tools all perform like shit and grind my system to a standstill. PMs never seem to mind, which is why they keep being so awful I guess.
OpenCensus: What It Is, How It Helps You, and Getting Started
Yes they are fair counterpoints.

> If you buy something from a bitcoin merchant, they will have a record of your purchase. How is that different?

Sharing your data with multiple merchants is much better than allowing one or two entities track all your digital payments, like your credit card provider and your bank.
Multi-CDN support in Mux Video for improved performance and reliability
Since you're talking about tapes, I'm guessing there's more data than can be put on an external hard drive?
Fastmail Login Problems
One only needs a single instance where Bitcoin worked when other payment processors did not. Wikileaks fulfills that example. Sci-hub is one more example than I need.

Piling on a thousand other obvious cases where cryptocurrencies are useless doesn't change those edge cases.

Just to get another example where this logic plays out: I'd bet the vast majority of cases where people are using GPG, the feature of "irrefutability" isn't needed. There are probably also cases where the user doesn't realize that is a feature, as well as cases where it's dangerous to have that feature. But I'm not prepared to call that feature useless, and if I claimed that it was it would only take a single edge-case from a contrarian to prove me wrong.
or almost like python:

for (auto &element: s){

even better with structured bindings:

for (auto [key, value]: map){
Without being able to start a class action, the message sent by a court will be pretty minimal.
Previous discussions, per @dang:
2012: https://news.ycombinator.com/item?id=4370904
2013: https://news.ycombinator.com/item?id=5435862
"A tale of woe and destruction where our hero learns the value of offline tape backups..."

Ok, so that is pretty harsh but its part of any disaster recovery scenario where the datacenter explodes (or burns to the ground, or gets flooded, etc). And while LTO tapes are slow and nobody likes maintaining those cranky tape library machines, they will save your bacon when the unthinkable happens. Of course if it is a really nefarious kind of thing you might find that your storage unit where the tapes were stored is also torched. No good financial reason to protect against that, its an unlikely scenario.

That said, when you "catch someone reformatting drives" you turn off the switches that give them access to your machines. Or at least you start logging into machines and halting them until you can be physically present to preserve them.
Let's say that the first bidder placed as a proxy bid $100 but eBay only shows $1. This will already exclude everyone who has a maximum-willingness-to-pay lower than or equal to $1. A second bidder might put as a proxy bid $120. This wil result in eBay setting the highest bid at $101. At that price nobody with a maximum willingness-to-pay lower than or equal to $101 will reveal their max. The Vickrey auction doesn't reveal anyone's bid and, thus, you collect a lot more bids (demand curve data). I agree with you, however, that the eBay mechanism results in the same person winning the auction.
When it's enforced by cars, it's no longer a revenue source.
Reform the electoral system to achieve the representation we all deserve.

The electoral system we use now: https://www.youtube.com/watch?v=s7tWHJfhiyo

Alternatives:

https://www.youtube.com/watch?v=e3GFG0sXIig

https://www.youtube.com/watch?v=l8XOZJkozfI

https://www.youtube.com/watch?v=3Y3jE3B8HsE

https://www.youtube.com/watch?v=QT0I-sdoSXU

We can start introducing these to everyone at the state and local level to build momentum for electoral reform at the federal level.

A good old fashioned general strike until we get what we need from our "representatives".
I've occasionally wondered what the best way to secure your backup host from the individual clients, and possibly clients from a compromised backup host would be.

The most promising option I've come across so far is Borg running in append-only mode[1] with a client-push type model.

I imagine it wouldn't help in this case, if the attacker has the creds and access to run `dd' on the backup machine directly.

Anyone had any good/bad experiences with Borg append-only (or have other suggestions?)

[1] https://borgbackup.readthedocs.io/en/stable/usage/notes.html...
Numenta is probably the most direct / well-known example of what you're asking. They get mixed reactions from the community (some fair, some not). DeepMind occasionally publishes crossover papers from neuroscience (e.g. grid cells; metalearning). Lots of other groups are looking at neuroscience for applications to ML too like University of Washington and Columbia.
Well, I remember times when my program crashed because I tried to add a dictionary and an integer - so, yeah, they do help.
The only problem that I have with this line of reasoning is why we ended up being capable of complex thinking processes at all, though I do suppose then that is answered by how rare such an evolutionary line is (with a 'success state' of one).

Going back to the second question of mine, is it feasible to see a divergence on the genetic basis over time amongst humans, in that the top academics tend to marry amongst themselves, and we have the strongest meritocratic system available that has been ever known to man? Looking at the Nobel Sperm Bank, there is some evidence of such a divergence already in place.
That's not an alternative hypothesis. It's a possible mechanism. Note that both can be true at the same time.
I can somewhat get on board until the moment a 0day is observed in the wild, then it should be disclosed.

i can not protect my systems from things I am not aware of, allowing a vulnerability to be exploited for 60 days when on day 29 of "responsible disclosure" window the vulnerability was observed being actively exploited is not responsible either.
Many comments seem to come from the idea that day care is just a place to dump kids. It is, in fact, quite important to a child's education if done properly. Therefore, it shouldn't be viewed as an expense or a benefit for the parents, but as an institution valuable for society as a whole.
Great question! The company that owns the app is ultimately responsible for the encryption there, but there are a few ways we can help out with that as well (sorry, I know this is a terrible answer - but it's best practice not to reveal too much about how the encryption works)
A time station? Or HCJB in Quito Equador. HCJB used to have a poindinf footprint into North America when I was a kid.
Buy an arplane. This is what I did: bought a simple Cherokee for $22,000, got my ratings (Private, Instrument, Commercial, CFI, CFII), then went to work to Alaska, sold the Cherokee (for $21,000, airplanes do not depreciate that much), which paid for all my training, got a lot of hours, got an ATP, floatplane, and commercial helicopter.

On the other hand, I usually try to talk people out of becoming a professional pilot: one health hiccup and your medical certificate is in jeopardy.
El Chapo Trial: Why His I.T. Guy Had a Nervous Breakdown
> In fact, private land can only exist thanks to the threat of violence against those who would use it outside of the "owner's" intent.

Kinda like what makes your wallet 'yours'.
I can't think of a single time I've needed a large collection of "backup" methods in case of a chain of failures; I can't even think of an example which could scale to 100. Anyways, this solution does scale:

methods = [method1, method2, method3, method4]
for method in methods:
try:
method()
except Exception:
pass
else:
break
else:
raise NoMethodWorked()

You can even pair specific exceptions to each method:

methods = [(method1, TypeError), (method2, KeyError)]
for m, e in methods:
try: m()
except e: ...

But the whole thing really sounds like you're trying to do too much with one function and you really should rethink the whole structure of your code.
Incorrect. Localities can and do levy property taxes, which is where they get most of their ongoing funding (sometimes they levy local sales taxes as well). One-time impact/development fees usually go to building up the initial infrastructure needed to support those developments. They aren’t windfalls that can be used for running services in any ongoing way.

I’m not aware of any city that can actually sell subdivision rights? Property is bought and sold privately, the only leverage a locality has is in zoning and permitting (which is automatic unless exemptions are required, then many cities try to push in affordable housing requirements).

This is nowhere near the same as it works in China. Land transfer fees are the primary income of many localities after what the central government shares with them in VAT and income taxes.
I think it's pretty reasonable to say kids sneaking into concerts is on the slap on the hand, "yep yep I tried that when I was a kid, wink wink" side of the line, and stealing lots of money from a parent is on the not really acceptable, you ain't talking to your family on pleasant terms again for a _very_ long time side of the line. Neither one is murder and it ain't a slippery slope from those to society coming apart at the seams (I mean, unless you're very socially conservative, then fair enough I guess)
The map of total deaths includes a significant blip on the west side near Pier 40 and the Holland Tunnel, which I think is from the 2017 truck attack.

https://en.wikipedia.org/wiki/2017_New_York_City_truck_attac...

Map: https://imgur.com/a/jNbOv7W
They were still spendable, you just had to wait longer for transactions to go through at the smaller fee. At any rate, Lightning network, the tier 2 solution for scalability in Bitcoin, has improved dramatically in the past year. There's also alternative crypto, like Ethereum, that never had such a back log of transactions.
Java is really the worst example for a typing system. It's basically the way you shouldn't do it. There are much better type safe languages like Haskell, Erlang, Rust, etc., even just Kotlin because it drops so much of the boilerplate and excessive unnecessary verbosity, while retaining the static typing and its benefits.
I'm about as far from a Google fanboy as one can get, but I'm definitely seconding this comment. Project Zero, OSS-Fuzz, a host of other projects have contributed enormously to software security in the last few years.
El Chapo Convicted
> Untraceable theft from your wallet

Theft is traceable (by looking at the blockchain). Theft is untraceable in the fiat system, because you don't have access to the bank's coffers to check they've not pilfered your money. Turns out they never had the coffers anyway, your money is just some number on a screen, and there are people who have the ability to change those number arbitrarily.

If you take the right steps to secure your bitcoin private key, it doesn't even need to exist in digital form, or physical form, ever. It can be purely inside your head. It's just a number. One which the probability of somebody guessing correctly is unimaginably small.

> Unregulated merchants who aren't incentivized to play by the rules

The same is true for fiat money. Scammers exist, and if you get scammed, you will usually be stuck for months without access to your funds while some third party performs an "investigation" (In paypal's case, "investigation" means return money to the buyer).

How about unregulated "customers" who are not incentivized to play by the rules? Credit card fraud is a huge cost to businesses.

> No third-party intermediary in the event you get ripped off.

The correct term is choice of third-party intermediary (or not). Bitcoin does not force an escrow on you, but allows you to choose whether or not to use one, and who to use. This process can be conducted digitally with multisig transactiton outputs.

> (This depends on your stance with these issues. Not everyone feels the same as you).

Feels are overrated. What are you going to do about it? We've already seen that action is worse than inaction in drug wars. If you think that paying for porn is immoral, what about the morality of you declaring unilaterally that you are cutting off the income of women because you don't like them getting naked in front of a camera?
Turning off a switch isn't going to kill any existing sessions or dd commands that were in progress - at least not until the SSH session times out and hangs up the commands it was running.
>Often the language is chosen because it is the only option like JS for web, or it is the best option for the project. For example, you are doing physics and you need a general purpose language that is easy to write and handles gigantic numbers correctly so you pick Python.

You could pick Julia, or R. A community could create their own tools. It's not like JS, which has an absolute monopoly and people were forced to use it.

Python __became__ popular for that purpose.

Not Java. Not Haskell.

So don't try to implement Java or Haskell error handling in Python if you are using Python in a niche where it shines: it shines here because people working in that field decided it fits well.
There are several solutions that occured to me off the top of my head, here's the simplest one:

try:
method1()
return
except Exception: # or a more specific exception type
pass # try the next method
try:
method2()
return
except Exception:
pass
# ...
try:
method10()
except Exception:
raise NoMethodWorked()

Seriously, there are so many ways to solve this in a readable, maintainable way, without resorting to introducing weird new syntax.
CPU Clocks and Clock Interrupts, and Their Effects on Schedulers (2015)
The argument "it isn't language, it's bad coders" is a pretty good way to identify bad coders.
Edit: what I meant is that working in Alaska paid for my training, not selling the airplane.