Better HN
topnewbestaskshowjobs
Log inSign up

capableweb

37,790 karma · joined Sep 7, 2019 (7y ago) · 9,208 submissions

Curabitur pretium dui sit amet quam pharetra, at condimentum turpis auctor. Maecenas vitae varius sem. Sed vel ante massa. Nulla a leo est. Morbi quis pulvinar nulla, et imperdiet nibh. Curabitur varius felis tempor nisl vulputate, id accumsan libero placerat. Sed mi odio, auctor ac lacus vel, sollicitudin mattis dolor.
Submissions

8971.

7GUIs: A GUI Programming Benchmark (2018)(eugenkiss.github.io ↗)

96 points · by capableweb · 6y ago · 16 comments

comment 6y ago · link · parent

Seems to only do regular State diagrams. Statecharts is something different, Wikipedia has more details: https://en.wikipedia.org/wiki/State_diagram#Harel_statechart

8973.

Towards a Better GUI Programming Benchmark(hackernoon.com ↗)

2 points · by capableweb · 6y ago · discuss

8974.

JPL Statechart Autocoder – Generates state machines for a variety of languages(github.com ↗)

11 points · by capableweb · 6y ago · 1 comment

comment 6y ago · link · parent

I think it works fine like it is. Things easily get on the frontpage so they can get some exposure, but they only stay there if enough people continue to vote for it. If someone flags it, it also disappears quicker.

The value is not about how fast it gets to the frontpage, but about how long time it lasts there.

comment 6y ago · link · parent

Similar submissions:

- https://news.ycombinator.com/item?id=8766319 - Statecharts: A Visual Formalism For Complex Systems (1987) [pdf]

- https://news.ycombinator.com/item?id=18483704 - Functional, stateless JavaScript finite state machines and statecharts (XState)

- https://news.ycombinator.com/item?id=15835005 - Are statecharts the next big UI paradigm?

- https://news.ycombinator.com/item?id=16606379 - More State Machine Love: From Reflection to Statecharts

- https://news.ycombinator.com/item?id=21860700 - Simpler UI Logic With Finite State Machines

8977.

The World of Statecharts(statecharts.github.io ↗)

142 points · by capableweb · 6y ago · 29 comments

comment 6y ago · link · parent

> Fulcro is doing so much innovation in the front end space

For someone who is versed in Clojure, what is Fulcro doing in the frontend space that is so innovative?

comment 6y ago · link · parent

Thanks, now corrected.

comment 6y ago · link · parent

If you liked that, you might also like one of Paul Grahams pet projects, the Bel Language: http://www.paulgraham.com/bel.html

It's a specification for a new dialect of lisp, written in lisp.

comment 6y ago · link · parent

As someone who have wanted to pick up SBCL for some years now, what would be the best getting started resource? The website seems to go through the installation and only have some sort of reference, which might be a too hard to chew in the beginning.

comment 6y ago · link · parent

Yeah, I'm assuming that people know what they are doing and taking the necessary precautions themselves when running untrusted code. I'm not gonna add "Run this in a virtual machine" every time I mention some software.

But your reminder is good for the newcomers around I guess.

comment 6y ago · link · parent

I did the following to run it locally instead:

  cd $(mktemp -d)
  wget http://will.thimbleby.net/misc/misc.jar
  wget http://will.thimbleby.net/misc/bootstrap.misc
  java -jar misc.jar
And then it drops you into a repl. (Add `rlwrap` in front of `java -jar` if cursor movement doesn't work correctly)

comment 6y ago · link · parent

More:

> It was important to understand the timing of the outbreak as part of this investigation. Health officials wanted to know when exactly the problems first cropped up, and whether they had missed many cases before those initial reports. That's why they turned to the surveillance data, collected from more than 3,200 emergency rooms from most states.

>They found a gradual increase in emergency-room visits among people who vaped or used e-cigarettes, starting in January of 2017.

> The surveillance system doesn't automatically flag health concerns – often scientists dive into the data once their suspicion is raised, as it was in this case. The outbreak only became apparent in the data once researchers defined more closely what they were looking for and focused on one age group.

8985.

This Article Does Not Exist(thisarticledoesnotexist.com ↗)

36 points · by capableweb · 6y ago · 5 comments

8986.

Betting the Company on ClojureScript(vouch.io ↗)

1 points · by capableweb · 6y ago · discuss

comment 6y ago · link · parent

Depends on the context. I've built Cordova/Phonegap apps in the past where you want things to work offline and sync once the user goes online. If the time from user going offline to online again is too long / device storage too little, that data that would eventually need to be synced, would be lost.

Always ways of working around it, like saving to files or whatever, but localStorage is a nice interface that works both for Cordova and client-side web apps.

comment 6y ago · link · parent

Are you talking about https://github.com/KaTeX/KaTeX ? In that case, that seems to be a JS project/library, so not sure how it could _not_ require JS.

comment 6y ago · link · parent

Although knowing Mastodon doesn't mean you know ActivityPub. If I recall correctly, Mastodon didn't implement ActivityPub in the beginning but started recently (within last couple of years)

comment 6y ago · link · parent

It's not a issue? It's one of the cases where it does make sense to use Epsilon as the heap is cleared anyway on program exit.

From the post:

> There is a strong temptation to use Epsilon on deployed programs, rather than to confine it to performance tuning work. As a rule, the Java team discourages this use, with two exceptions. Short-running programs, like all programs, invoke the garbage collector at the end of their run. However, as JEP 318 explains, “accepting the garbage collection cycle to futilely clean up the heap is a waste of time, because the heap would be freed on exit anyway.”

comment 6y ago · link · parent

You might be replying to the wrong comment, or I'm not making my question clear enough. I'm wondering how much of the startup time the GC currently takes, and if using Epsilon will make startup faster.

comment 6y ago · link · parent

Now I'm no Java expert, far from it, so would appreciate any answers to this. I'm interacting with bunch of CLIs that are either in Java or using the JVM otherwise (Clojure mostly), how much of the startup time for this things can be attributed to the GC? It's mentioned in the article that short-running programs (almost all CLIs I use) could use Epsilon since the heap is cleared on exit anyways. But wondering how much of the typical program actually spends on, what I guess is initializing the GC?

comment 6y ago · link · parent

From Wikipedia about another, similar project (Folding@Home)

> At the time of its inception, its main streaming Cell processor delivered a 20 times speed increase over PCs for some calculations, processing power which could not be found on other systems such as the Xbox 360.[36][190] The PS3's high speed and efficiency introduced other opportunities for worthwhile optimizations according to Amdahl's law

> The PS3's uniform console environment made technical support easier and made Folding@home more user friendly.[36] The PS3 also had the ability to stream data quickly to its GPU, which was used for real-time atomic-level visualizing of the current protein dynamics

https://en.wikipedia.org/wiki/Folding@home#PlayStation_3

comment 6y ago · link · parent

When reading through this I was sure this was about Folding@Home but turns out this was a different project! Strange that Folding@Home isn't even mentioned, if I recall it correctly, you could install Folding@Home easily via the store on the PS3, and a normal user could contribute. The Verge article seems more focused on customized machine (rooted to run Linux and stored at location) instead of using the standard OS and letting the contributors have the machine at home. Folding@Home seems to still be running to this day as well! Plenty of information about it here: https://en.wikipedia.org/wiki/Folding@home#PlayStation_3

comment 6y ago · link · parent

The reason why it's cut like that it's because it's a Behind The Scenes from the shooting of BBC's Earth. Normally you'd watch it after watching a specific episode (or even later) and you're not interested in particular content of the shot, but about the making of the shot. Hence the interview, rapid cuts and so on. If you see the full BBC Earth, the scene is a lot better and makes more sense.

comment 6y ago · link · parent

> fetch API does that for you automatically

It does not do it automatically. Even in your example, you call `Response.json()` to do the parsing. If you change that to `Response.text()` it will be text instead. If you don't include the `.json()` call, nothing will be parsed from the body.

comment 6y ago · link · parent

Yup, I did! I can even see the utm_source and utm_medium query params in the URL that I guess is supposed to unlock the article. But this is what I see https://i.imgur.com/pN83qpg.png

comment 6y ago · link · parent

> a critical East Coast mentality and I’m not a fan of West Coast yesism

As someone who have no idea what this refers to (I'm not from the US [I'm assuming East/West coast here refer to the coast's of USA]), could you expand on what this means in reality?

comment 7y ago · link · parent

I'm not sure what "unlocking" the article, but assume that we should be able to see the full article. Currently, I can only see the two first paragraphs and the article ends with "with direct knowledge of the discussions" and then a "No subscription? You're missing out." ad. Seems to still be behind a paywall.

comment 7y ago · link · parent

> ssh works fine if you're using it as a server, sure

woadwarrior01 only mentioned SSH as a transport to wrap RDP/VNC, both of which are remote desktops, just like TeamViewer. So combining SSH + RDP/VNC, you both get the security of SSH, and the remote desktop part. Windows even comes with RDP (maybe macOS also probably comes with RDP/VNC as well) so even less software to install/maintain!

1
299300301
307