skysight-inc/HackerNews huggingface dataset:
You are a joke.

Show HN: 1 KB JavaScript library for building front end apps
242 points jbucaran 8 months ago 2 comments
(https://github.com/jbucaran/hyperapp)

Show HN: 1 KB JavaScript framework for building front-end applications
216 points jbucaran 8 months ago 42 comments (https://github.com//hyperapp/hyperapp)

Show HN: 1kb JavaScript library for building front end applications
187 points jbucaran a year ago 40 comments (https://github.com/hyperapp/hyperapp)

Show HN: 1 KB JavaScript library for building applications
116 points jbucaran 7 months ago 8 comments (https://github.com/JorgeBucaran/hyperapp)

Show HN: 1 KB JavaScript library for building front end apps
40 points jbucaran 5 months ago 0 comments (https://github.com/hyperapp/hyperapp/releases/tag/1.0.0)

Show HN: (1KB) JavaScript library for building fast and feature-rich web apps
9 points jbucaran 5 months ago 4 comments (https://github.com/hyperapp/hyperapp#hyperapp)

Show HN: 1kb JavaScript library for building front end applications
4 points jbucaran a year ago 0 comments (https://github.com/hyperapp/hyperapp)

1kb functional JavaScript library for building UI applications
3 points jbucaran a year ago 2 comments (https://github.com/hyperapp/hyperapp)

Show HN: Less is More (1KB) JavaScript library for building user interfaces
2 points JorgeBucaran 4 months ago 0 comments (https://github.com/hyperapp/hyperapp#hyperapp)

JavaScript meets Elm
2 points jbucaran a year ago 0 comments (https://github.com/hyperapp)
Sounds like an interesting idea but would be awesome if rather than grayscale it just lessened the contrast and made colors a lot less vibrant. That would still help a lot
I use RSS/Atom to keep up-to-date on the 100+ webcomics I read, and the content in those feeds can vary wildly. Some include the full comic page, some only a thumbnail, some contain an accompanying blog post, others are empty and you need to follow the link to see the post.

If you want to read everything in your feed reader, those "incomplete" feeds are disappointing, but I just use it as a kind of newsletter to get notified of updates. I even use Thunderbird's built-in feed support.
At this point Atom is basically just the technical name for protocol that powers RSS.
> but more code == more errors in general.

you can't have bugs in code you never have to write!
For websites I want to follow that don't provide an RSS feed I wrote a 30 line python script which runs in daily cronjob and creates me an an XML feed that I can import locally in my reader (newsboat). Easy and it works great.
Sleep is the natural state of life, it uses far less energy and we only wake up as a means to procure more energy. On a planet where plants have a constant source of energy to grow the animals may sleep more.
https://www.principles.com/ is the full site for his Principles of Success. There's a good interview with Ray Dalio on the Freakonomics podcast: http://freakonomics.com/podcast/ray-dalio/ . He talks about his principles, how he applied them, etc. He skirts around the challenges he's had stepping back from the company, but the lines are there to read between. (If you haven't already read about it elsewhere)

It's unclear to me whether Bridgewater's success is due to Ray's principles or more to having Ray and his judgement lead the investment team. And holy shit, some of the descriptions of Bridgewater I've read have made it sound one step removed from Lord of the Flies. The Paradise of Radical Candour is only 10 EQ points away from The Tire Fire of Negative Emotional Externalities.
Although comforting, the having a majority of the votes is a misleading metric in some ways, the electoral college is skewed so that voters in states with lower population have more power so each vote is not equal. This effect carries over to the Senate where a similar outcome with lower population states having more power so one person's vote is more powerful depending upon their geographic location.
I really dislike how absurd conspiracy theories are used to discredit any discussion of networks of power and how those networks operate.

There is no vast monolithic conspiracy but there are certainly many smaller ones (lobbyists, front groups, back room deals, etc.) with incentives that align. Alignment of incentives can generate a result that looks a whole lot like the result of a big organized conspiracy.

If anything the less organized network of aligned interests is tougher to resist than an "Illuminati." It's more resilient and antifragile. Big vertically integrated power structures are slow and brittle.
Wait, I don't get it. Someone was using charcoal as opposed to, say, wood? So what? Is that a fire hazard or something?
Youtube is like this. They don't advertise rss feeds but include them in the page source of youtube channels. In the one or two times I couldn't find the link in the source, I'd just copy the channel id of the channel and use the feed url from another channel. Works like a charm!
Well, there is no "basic green tea", there are many different variants which are all quite different. Start by comparing a solid Chinese tea (eg. longjing) with a Japanese one (eg. sencha), brew them exactly as instructed (Japanese tea in particular turns bitter and soupy if you let it steep too long), see which one you like more and go from there. And instead of fancy tea stores, go to an Asian grocery and pick up any random mid-priced package.

https://en.wikipedia.org/wiki/Green_tea#Green_tea_by_country
Yeah, umm... "North Korean" hackers....
PubSub is fundamentally a different abstraction than Kafka which is log orientated. With Kafka you can maintain the ability to replay your log/stream, in order, at any time.

This enables different kinds of use cases, and can be easier to reason about.
I find your absolutist view remarkably blinkered, indeed unrealistic in the fundamental sense of the word.

I wonder if you suddenly incurred uninsured medical expenses of oh, let's say, 20X your net worth or annual income, whether you might see things differently.

A family of four on a $50K annual income would find a sudden $1000K obligation utterly devastating.

That's life for (IMHO) too many of us. On average, it has far more to do with luck than your proffered causal moral failure. I think we can do better.
Show HN: Tone of Sorting
Tests lock you down to particular design by way of the interface. If you want to fundamentally redesign something, you're likely going to have to change the tests as well.

The power of automated testing is really to ensure that nothing changes, which is great when doing bug fixes, but not so great for actually evolving software.

Ultimately it just becomes easier to add new code than it is to ever change a design that is already in place.
This assumes that if you rewrite a piece of code then the possible bugs in the new code are similar to the bugs in the old code. And that is in general not true.
I guess you could have an "internal network" browser config with _only_ the DoD CA root.
I have lurked your forums for a long time. You and your team are experts at delivering limitations through omission while hyping something. Signing your post doesn't make this less true, and isn't going to make my criticism of your closed-source, rent-seeking software less harsh.
Ask HN: Hacker News thread about alcoholism
There was a hacker news thread I think in February or March where someone mentioned the Sinclair method in the comments. I was hopelessly addicted to alcohol and that comment saved my life. I plan to donate to the nonprofit that pushes the Sinclair method, but I’d like to thank that poster specifically.
It's literally what the article is talking about. I included the quote. I suggest they are misinterpreting their data, and are measuring the wrong things.

It's like that daft statistic a few years back that 40% of corporations don't pay any income tax. This raised all sorts of righteous hysteria. Never mind that 40% of corporations lost money that year, and income taxes are not due when you lose money.
https://plex.dharma.io/request spins forever... website down?
Mueller is guilty of obstruction and cover up in Uranium One
Oh you have no idea how welcome this is. As a member of the National Guard, we are expected to use our own personal equipment to access DoD websites. It is a constant battle of certificates that are not recognized, expired, many other things. The Army maintains a gold image for all active duty computers, but us silly part time soldiers who try to use our own equipment are completely screwed.

Just this month alone I have been 'mandated' to sign multiple documents and complete on-line courses that I can not access due to the Army's making everything only Microsoft compatible. So many sites are years old still making ancient calls to Internet Explorer functions.

The simple act of fixing the certificate issues would eliminate half the frustration right now. The second thing they need to do is mandate that any site has to operate with all the major browsers, and not just ancient versions of IE.
Nice, a trading vehicle https://hackernoon.com/its-not-about-the-ico-it-s-about-the-...
There’s nothing stopping you from putting a script to create all of your triggers under version control. With your table and index creation scripts...
“programming errors”
Wouldn't you say there is a literal material difference between a politically motivated rhetorical position and the real lack of resources and expertise that this article points to? Seems like that wiki article describes something of an accounting trick if anything although I'm happy to be proven wrong :)
Wisdom.
If I look at the local newspaper and the periodic airing of grievances, it's all about camper vans and piles of poo, and then maybe about people who can't safely drive on the left side of the road

I think there probably are isolated areas that are now seeing more people than they ever have but most locals don't get there either - DoC (the government conservation arm) is quite capable of closing places if required
The EFAIL is particularly effective because it can surround every whole encrypted block B with chosen encrypted binary to yield ABC which decrypts to

"...<img src="...[plaintext of b]...">.

Yet it also has the limitation that it cannot further divide the encrypted block B. Also, EFAIL depends upon plaintext of B being part of and HTML attribute value. Attribute values have a choice of only three final delimiters: doublequote (") singlequote (') and space ( ). So if every plaintext that is encrypted as a single block is prefaced by those three characters, then EFAIL cannot what comes after those characters. (Call it an obfuscation string). Play round with this sandbox

https://try.jsoup.org/%7E_nyXks5PuAs-zJeek8CVhpuAvtI

to see how that works.

I've written in more detail at

A Solution for Sending Messages Safely from EFAIL-safe Senders to EFAIL-unsafe Receivers
https://github.com/craigphicks/efail-safe-send-to-insec-recv/wiki

The thing about new EFAIL reading-safe versions that somehow force or Strongly! advise to use MDC is that some readers won't update for years. And that becomes the problem of the sender when their messages are exfiltrated. Only if the message format is changed so that old readers can't read new messages ... but there are obvious drawbacks to that.

That's why I think this sender-safe solution, even if its a bit ugly, is worth considering.

Any implementation would have to be close to the encryption module, to avoid any mistakes aligning the obfuscation string with the encryption boundary start, actively checking that alignment is correct.
It's just a classification system, so I wouldn't take it in isolation. If what you are trying to understand is wealth and power, you have consider more dimensions.

In Marx's time, these categories perhaps mapped more consistently to the gradation of wealth and power, but there were exceptions then too.

And the degree to which an asset is "capital" that produces wealth and income without the owner's labor is relative to it's scarcity. The 30k car is a common possession, and also it has no added economic value without the driver's direct labor. A fleet of cars driven by rented labor is capital, as are factories, valuable land, or high concentrations of wealth.

Education is a kind of capital, but the surgeon's student loan is no different in than a social worker's student loan, except in the cost and income potential.

In that sense the surgeon is a worker but their work usually produces a great deal of extra income that allows them to purchase capital assets of other kinds.
It's hard to educate yourself if you're homeless and hungry though.
the tide of sentiment rises and falls. the glow of opinion waxes and wanes. the wave of reaction ebbs and flows.
Is that another Electron app? If so, no thanks
I see this a lot in young people. They trust the cloud and privacy isn’t a big deal. That attitude will not change until something bad happens on a large scale that wakes the masses.
FWIW since 9.6 this behavior is automatic for views with simple column references against a single relation
Shadow Banning
Are you using a web3 browser? Chrome+metamask, cipher, toshi, brave, etc.
I agree. When a couple of developers can start a software company with nothing but a credit card and an AWS account the concept of "capital" has changed a lot.
Making speech illegal is very dangerous ground, so while I agree that this looks suspicious I'm in the end happy that "don't lie to Congress" is being handled with soft gloves. There is also an abuse potential in accusing people of lying, that this lax enforcement reduces.

/cynical/ if you could get easily prosecuted from telling Congress "incorrect" information, it might be predominantly used against lone whistleblowers who had ended up on the loosing side of a very effective information squashing campaign. That's just one example of how such a law could be abused if it was over-enforced. /end cynical/
cant read - Does this happen in europe too?
The text was "m/s^-2" (i.e., "m·s²") not "m/s^2".
"large project" was a key thing - Graham took on a feature set that regularly exceeded his spare time such that he ended up with the same pressures to hack instead of refactor that cause technical debt in commercial projects.

The trick is to avoid overstretching yourself in terms of what you promise - or to recruit a team. In this case, neither happened, and so the result was unfortunately inevitable.
Maybe the best thing I can do here is concede that "can you find $400 for an emergency" is an imprecise question that this article doesn't (and can't) answer.

I think I know what it's saying (probably because I have a lot of experience with the type of people I'm imagining) and you guys think you know it's saying something else (because of your own experiences having money that's inaccessible), but, ultimately, the question is too imprecise for either of our claims.

So, yes, I strongly suspect I'm right -- "selling something" is pretty plainly not referring to financial instruments -- but it's true that it's more intuition than fact.
Boss calls you into the office: “jimmy, I thought we agreed you would cut down on the red meat?”
Link to said trend reports: https://mixpanel.com/trends/#report/ios_11

https://mixpanel.com/2017-product-benchmarks-report/
Industry Benchmark report
Perhaps this thread/comment:
https://news.ycombinator.com/item?id=15775102
That looks awfully complicated.
This was determined, or at least potentially noticed, a month ago (presumably they spent nonzero amount of time trying to figure out if the error was real) by the FBI. Wray seems to have last cited this back in December.

I'm not seeing how the FBI has made no effort to correct the record here, this article is citing the FBI. Is there evidence that this is not an official disclosure?
Alternatively, get one of those bluetooth speaker. Get a free recording of a vacuum cleaner / AC unit / any kind of white noise.

I used it to put my son to sleep (with a timer to fade out the volume) with great success.
"ust use a dedicated cube map for a scene"

Most scenes with baked lighting these days many (sometimes hundreds or thousands of) cube maps. One per scene tends to look really bad.

Unreal Engine (without the raytracing stuff) uses something similar to this:

https://seblagarde.wordpress.com/2012/09/29/image-based-ligh...

Cubemaps are blended together and traced against simple box and sphere geometry.
Hierarchical Neural Story Generation
New object => new pointer.
The app in Google's Play Store by the same name is apparently a different app by a different company.

The website that this HN post links to has their own app called Heavens-Above which is free and helps "identify lights in the night sky, predict Iridium flares, ISS and sat passes."
Abe (YC W18) is hiring a Sales Manager to supercharge insurance brokers
Holding perjury to account isn’t a free speech issue goddamn it.
They still need warrants to get information on specific people.
It's really funny you mention this, because I'm in St Barts today as I posted the comment, and that may well be true here!
I didn't see them or may have missed them - this will destroy you, if these trees could talk, russian circles, john frusciante and my fave would probably be clouddead but what do I know :)
Pubsub has no ordering guarantees, has no concept of keys, partitions, or compactions (if needed), and has no replay abilities (although "snapshot" functionality is in alpha).

If you just want an event stream with loose ordering, no throughput or partition management, and the ability to 'ack' each individual message, than GCP pubsub is a pretty good choice. It can also do push-based subscriptions. The client libraries are rather buggy though and end up with memory leaks and network failures.

Kafka meanwhile is much more compatible with many other services that are typical run these days from stream processing to databases. That being said, Kafka is also pretty easy to run and VMs are extremely reliable on any cloud so I don't see much value in managed solutions for that, unless someone just wants to completely de-risk. The bandwidth costs add up quickly for even moderate usage.
Invade-A-Load
* Shameless plug *: Our little startup, Feedity - https://feedity.com, helps create custom RSS feeds for any webpage, via an online feed builder and REST API.

Custom feeds can even be created for dynamic content, utilizing Chrome for full-rendering, and many other tweaks & techniques under the hood for seamless & scalable indexing.
People have users who use their products. If someone can help make you better are understanding how your users are using your product so you can make it better by removing bottle-necks, wouldn't you pay for that?
Thank you, it is that thread, but it’s none of those comments.

I also remember they had a weekly timeline of how much they drank in their post.

Maybe they deleted it.
Not the guy, but one reason to avoid ubuntu snaps is that it is designed not to allow users to have complete control over software updates. With snaps, the developer controls the update process, not the user.

Some people believe that the user should have the final say in what his or her system does. Snap goes against this. It's a great project otherwise.

See: https://forum.snapcraft.io/t/disabling-automatic-refresh-for...
Answer me a simple question, why does std::move exist then?

(here's a hint, Rust doesn't need xvlaues because every value already has an associated lifetime)
and the question persists; how can this insight earn me profit?
PHP is pretty hard to beat as well.

I’m sure you are aware that most of the web runs on it. Wikipedia, WordPress and most other big CMSs. Oh yes, and that Facebook thing.
The acceleration due to gravity is independent of mass. A 1cm ball made of lead and a 1cm ball made of wood would both fall at the same speed.

What does make a difference is shape, due to differing amounts of air resistance and lift.
And now we have JSX and this is considered good again.
Ask HN: How do you recover from repeated interview rejections?
I am in my mid 40s and for the past 2.5 years I have gone to numerous tech interviews. I have spent many many hours on sites like leetcode etc. and I typically do well in screening rounds but not so well in onsite rounds, leading to getting rejected.

The last rejection was particularly hard for me. In spite of my familiarity with the domain (finance) and being recommended by a senior member of the company and doing quite well in the initial rounds, I was rejected.

I feel extremely frustrated and depressed. It’s addictive to keep practicing these algorithms- but I feel at some point the strategy isn’t working. I have been at one company most of my career (although different groups with the company). That’s probably one of the reasons companies reject me.

Also want to add that I went to a mid-tier college in India. The college I went to does not reflect my abilities but I think that people tend to make judgements about you based on where you went to school.

What can I do to stand out?
True, but by passing the same object as an attribute to a pair of Mithril components, I can have them share state. (Can be restricted to the scope of a parent component if desired.) Is there an additional requirement for compound components?
There is also someone to sue if things go badly wrong.
That's the thing, he might get rejected from the screening questions...
Lightspeed is plotting a new crypto investing project led by one of its partners
I guess you could write a theming engine, implement the old design using it, and then implement the new design.
I was wondering something similar. It's clearly a typed letter, but it's offset from the letterhead. Was this scanned and placed onto the letterhead?

I don't understand how that crookedness happens? I don't think it it wasn't a crooked page placed into a typewriter.. but I also can't explain why it would be printed, scanned at an angle, placed onto letterhead, and then published.

All that said - the senator seems reasonably well informed and asking some good questions - even if his final suggestion for the
US military to use Let's Encrypt made me cringe a little :)
> But people who don't use the right aggregators will not be able to read past 10 posts.

I do not think such aggregators exist, and you can just ignore people using software that do not comply to widespread conventions.

> And if everyone was using aggregators, I wouldn't have such a high bandwidth bill.

I don't understand this sentence. All RSS client software is called aggregator.

> But sites that can have an RSS feed necessarily need to deliver their content in a static form.

Not really. Many websites which are essentially blogs are transforming themselves into single-page web apps. My uni's websites included. Some do it for the $$$, some for reasons that I can not know (jumping the bandwagons with minds toggled off).

You can just set your blog software to truncate your feeds to a reasonable number w/o any worries. And I suggest you look at your logs, because some silly bots might be consuming your bandwith along with your normal traffic; there are some that like RSS feeds.
Did Wray know the information he was presenting was false? That's the standard for perjury.

Edit: if you're making a more general point, point cheerfully granted. :)
Alaska benefits from the petroleum fund but they have what could be termed a UBI since every citizen is eligible after a few months. Studies have found the support from even the small sum is enough to help people counterintuitively try to find more work. (Possibly due to people being too poor to even transport themselves to areas with work without the UBI help.)
https://www.marketwatch.com/story/finland-has-been-giving-68...
YubiKey and WIRED Subscription for $5