skysight-inc/HackerNews huggingface dataset:
Show HN: SEXP – synthetic assets DEX on Tezos
Hey guys, we are building a DEX for trading synthetic assets on Tezos. You can check out a preview of SEXP Binary Options on Youtube https://www.youtube.com/watch?v=iobwJNzjwP4

You can also try it yourself.

The preview Florence testnet build is running at: https://testnet.sexp.exchange

First, you'll need a Tezos wallet (we recommend Temple or Kukai). Then you should get Florence test coins from @tezos_faucet_bot on Telegram and test kUSD from https://zeronet.kolibri.finance. kUSD is a stablecoin like DAI in Ethereum. Then you can use kUSD to test trading in SEXP Binary Options.

Links to wallets:

Temple wallet: https://templewallet.com/

Kukai wallet: https://wallet.kukai.app/

(in Kukai you can log in with Twitter)

Details about how it's built:
The smart contracts are written in Michelson, the low level assembly like language of Tezos smart contracts. There are also more high level languages available, that look like Python (SmartPy) or OCaml (LIGO). The advantage of using Michelson is lower complexity of the compiler stack and better gas efficiency.

For the web app we are using Svelte. Interaction with wallets is via Beacon SDK, the app can request that a user sign a transaction, and the wallet presents a confirmation dialog.

We use the TZKT and Better Call Dev (BCD) indexers for most of the requests and are querying a tezos-node RPC API directly for the balances.

The sources are available here:
https://gitlab.com/smartcontractlabs/sexp-binary-options
https://gitlab.com/smartcontractlabs/sexp-webui

Feel free to ask any questions if you are curious about the technical details.

Our main website is: https://sexp.exchange

Our Telegram channel is: https://t.me/getsexp

Follow us on Twitter: https://twitter.com/getsexp

We are running a presale of SEXP token until May 17th 16:00 UTC: https://presale.sexp.exchange

Image guides showing how to contribute with the most common Tezos wallets are provided at the presale page.
There are daily/monthly plans in most US cities that you can add to your card, and if you do, it won't charge you per entry. For NYC it's $33 for 7 days or $127 for 30 days.

The only people it really makes sense for are people who use it every single business day for commutes plus some more, and tourists who will use it several times in a single day. For people who don't use the system consistently every day it doesn't really make sense. In the case of NYC, 42 rides a month (== round trip every business day) still doesn't make sense to get a monthly pass, you need to also use it on the weekends for some more stuff in order for it to make sense.
Argentina has implemented many of these "solutions" trying to keep the dollar under control. The result is prices keep going up, local currency keeps going down and there's an entire parallel market to avoid the taxes. I expect the same to happen to Bitcoin if that is implemented.
>This is what happens when you remove centralized decision making.

Is this really a bad thing? ie. a system where you need consensus from all stakeholders for a change to go through, as opposed to something like the fed where they can unilaterally print trillions of dollars?
> Using Wordpress.com

Just be careful. The free version of wp.com embeds AD-Code and tracking scripts into your page so they can make money. The paid version is without ADs however. If you want privacy, the one-click installs (like you said) on the majority of hosting providers is better.
Yes, Hungarian has this kind of emphasis built in. See https://en.wikipedia.org/wiki/Hungarian_grammar#Emphasis for examples of how varying the word order can change the emphasis and thus effectively the meaning of a sentence.

Because it really affects the meaning, I also think that your parent's statement that "you typically rearrange the sentence to emphasize the important part" is not strong enough. You don't just "typically" do this. You do it because you must, because most permutations of a given set of words -- although perfectly grammatical, and referring to the same event -- are simply pragmatically incorrect in the context of the conversation or text.
There's no generic HTML import function yet. Right now you can only have a page pull in javascript (through a script tag or ES module import) or CSS files, but critically not component HTML files. So it's hard to have a component defined by HTML and CSS that can be shared and imported in other pages. There's no "grab this HTML page and give me the DOM to insert/clone/use how I please" in pure HTML. The closest thing is iframe but it's not really a general component tool. For better or worse JS is currently the way to share logic and fragments between HTML pages. There was a working group looking at HTML imports but I think it all got spun down.
Hence the initial “nitpicking” in my post
Hasn’t the relevant fcc regulation (concerning signal strength and use) been around since the eighties at least?
500,000 lines but it's "services written in Go", so it's not a monolith, which leads to a lot of duplication I'm guessing.

What are the chances if it was a monolith written in Go, it could be closer to 300,000 lines instead?
> It is a bleak Day. Hear the Rain, how he pours, and the Hail, how he rattles; and see the Snow, how he drifts along, and oh the Mud, how deep he is! Ah the poor Fishwife, it is stuck fast in the Mire; it has dropped its Basket of Fishes; and its Hands have been cut by the Scales as it seized some of the falling Creatures; and one Scale has even got into its Eye. And it cannot get her out. It opens its Mouth to cry for Help; but if any Sound comes out of him, alas he is drowned by the raging of the Storm.

As a german, accept my apologies.

Though I don't get which word for "fishwife" exactly he was referring to that has a neutral gender.

Closest translations that come to mind are "Fischersfrau", "Fischerin" - or even "Fischverkäuferin" if you want to be bureaucratic. But all of these are grammatically female.

edit: TIL "Fischweib" is a well-established word (and indeed neutral). Wikipedia translates it to "mermaid" though, which doesn't really seem to fit the story.
A git script named wip-push that commits changes in my working copy with the message "WIP". A git script named wip-pop that undoes the head commit, leaving the changes in my working copy, only if the commit message is "WIP". I use these dozens of times every day.

Also I've written my own logging library. Multiple times. Doesn't everybody?
Yes. Generally we evaluate the environmental impact of pretty much all economic activity these days. Methane from cows is indeed something to be concerned about.
And brainfuck is 340 lines: https://github.com/brain-lang/brainfuck/blob/master/brainfuc...
Code review guidelines: the “unwritten” rules
Here's a take: Go is a language for engineering managers who occasionally contribute a ten liner. You can learn just enough in between your many meetings to make a simple change. You can feel proud and happy with how easy it was for you to contribute. And you can dump the verbose, repetitive drudgery onto the people below you in the org chart, it's their job to deal with this after all. But in a language that you can easily understand, you'll make sure to push for that.
Is Go no longer worth it to learn? Seeing a lot of posts where over the long term go code base is not fun to manage.

Was looking at my next language after python. Rust is one , should something like kotlin be the other ?

For interviews python seems to be nice and fast to type.
This is the same pipeline that leaked over a million gallons of gasoline without Colonial even noticing. Two teenagers reported it after smelling it while out riding ATVs.

https://www.wcnc.com/article/news/local/ncdeq-colonial-pipel...
Can you elaborate on what makes stunnel or ssh tunneling "gross"? Is it the network overhead they add or is it the complexity of the protocol, or is it something else?
I needed a good Node wrapper for ExifTool and wrote https://github.com/photostructure/exiftool-vendored.js

When I saw how slow it is to fork child processes in Windows, I then realized I wanted to run ExifTool in "stay-open" mode, which meant I needed to manage 1 or more long-lived child processes that communicate via stdin/stdout, so I wrote https://github.com/photostructure/batch-cluster.js

In switching to TypeScript, I really missed Scala's `Option/None/Some` and `lazy`, so I added those (and several other small, helpful functions/classes) that I documented here: https://photostructure.com/coding/uncertain-lazy-forgetful-a...
The person specifically mentions longevity and yet you mention a myriad of third-party tools to depend on.
It's also weird to use C++ to support the argument that Go's generics are too bolted-on (as though C++ generics resemble a holistic upfront design). I like C++ and everything, but I've also used it and thus know better.
- R package "matrixTests": https://github.com/karoliskoncevicius/matrixTests

I often have to perform statistical tests on genomic data. Which in practice means running the same test on every gene (row of a matrix). Running it separately on each row is slow, specially in R. Hence to speed it up I started an R package which is a lot faster and deals nicely with edge case scenarios (missing values, infinities, empty matrices, etc).

- R package "annmatrix":
https://github.com/karoliskoncevicius/annmatrix

An S3 object for matrices with persistent metadata. This again is mostly relevant in genomic contexts where a matrix of, say, gene expression has to also keep information about rows (gene names, positions, chromosomes), as well as samples (disease status, age, sex).

- R package "basetheme":
https://github.com/karoliskoncevicius/basetheme

On of the advantages of ggplot2 in R is the ability to specify themes. I prefer working in base plotting system and ended up creating a package that allows setting themes for base graphics.

- Vim plugin "sendtowindow" https://github.com/karoliskoncevicius/vim-sendtowindow

A minimal plugin which implements an operator for sending text to another window. Handy for sending code from the buffer to a REPL running within another ":terminal" buffer.
https://github.com/alschwalm/transient - A tool for quickly creating short-lived virtual machines for doing kernel or hypervisor testing, made after I got tired of dealing with races and general complexity from libvirt-based tools.
> irregardless

Did he really use this non-word?
I've written jql[0], an alternative to jq with much less syntax (being lispy) and much easier to use for me. The project may seem dead to some, but I'm using it daily, it's just finished.

[0]:https://github.com/cube2222/jql
Ahh, I’ve done something similar except I call mine “save” and “undo”.

Basically I just define them as git subcommands so I just use “git save” to create a SAVEPOINT commit, and “git undo” to undo the last commit onto my working index.
IMO one of the big advantages of Jekyll is that you can extend and modify it to no end, which is a lot harder in Hugo. The choice of language plays a big part here: Ruby just makes this kind of stuff a lot easier than Go.

On my website I do stuff like:

- Run Vim to add syntax highlighting (with :ToHTML).

- Add a tag to include a code example from an external file (much easier to test/run when writing!)

- A tag to list "related posts" based on tag.

- Overwrite the standard date formatting function so I use my own date format, and add a custom number format function which uses a thin space to separate thousands.

- Generate pages for my Go "vanity paths" based on just an Array in a Ruby plugin.

- A tag to include images as base64 inside the page itself.

- Run some regexps on the generated HTML to add/change some things.

- Aside from the .html page, it also generates .txt files for people who prefer this and/or usage on Gopher/Gemini (actually, I removed this as it never worked quite how I wanted, but with a little bit of extra effort it would have, I just couldn't be bothered).

Maybe it's crazy to do some of these things like running Vim, but I like the Vim colour scheme and semantics and it's a lot easier to use this than configuring some library. I wrote much of this years ago and has been working without problems ever since, and it didn't even cost me that much effort.

Either way, my point is: this is a major advantage of Jekyll. Hugo probably has some of this by default, but last time I checked you couldn't even add a custom template function. Once you reach the limits of what you can do with Hugo: you're going to have a hard time. If you hit the limits with Jekyll: no problem, lemme just whip up some Ruby code.

I never hit "random quirks" though, in spite of all my hacky stuff.
Does task.jl contain code you wrote? Feel free to make an issue and we can talk about it on GitHib too.

Try setting a stackframe_filter, filter on the root path of your project and then only lines in your repository will be reported.
If it’s TV then it’s not additive unlike
Bitcoin.

It could well be a lot of other stuff, sports, resources consuming hobbies etc.
Growing up in a state with container deposits (ME) I'm shocked that it's not a nationwide program. I guess that's why the bottles always list states where it's redeemable.

I wonder how the lobbying didn't prevent this in the ten states.
Wrote an implementation of the ZIP specification in Swift: https://github.com/weichsel/ZIPFoundation
Main motivation back then was a side project of mine, but since I open sourced the library, the project is also well received by the iOS and server-side Swift community.
An hour was more than enough for me to learn eleventy and used this basic knowledge to build a simple home online.

This was the first time I ever touched a static site generator. It was harder than I expected, but my expectations were probably unrealistic.

I was so happy with what I got that i decided to replicate my more-than-10-year-old Tumblr with what I just built as a test.

I "host" it for free on Netlify. And if anything goes wrong with them, I can just move it anywhere I want.

My only pet peeve is that I'm not yet used to committing content with git alongside the code, but that's it.
Maybe I missed it. But what use case is this for?
There are other ways of getting traffic besides Google. Sure, tweak your site to please their algorithm and achieve better SEO, but always be scouting for other traffic sources.
> it's just too much of a mess of a language

This is vapid criticism, and it's only going to invite language flame wars. There's certainly room to criticize Go, but just saying it's "a mess" isn't contributing anything to the conversation.
Hello World
Talking about SHIBA INU
Fulton surface-to-air recovery system
Yep. With full conviction of a person that he will not be corrected by his underlings.
Just saw https://github.com/darrenburns/pytest-clarity and also pytest fork on Darren's github profile.

@Darren, did you consider extending/improving pytest over starting from scratch? if yes, what were you biggest drivers to start a new test framework
> that allows you to save money by skipping courses.

At least in my limited experience with the people at the UCs, the AP classes only counted toward credit hours. They did not count towards GE and Major requirements. In that, if you got a 5 on the Physics AP, you still had to take Physics I to get the GE and Major requirements [0].

Also, your score on the AP test was the credit hours you received. So a 3 on the US History AP only gave 3 credit hours, while a 5 on the Chemistry would give 5.

The people I know that went through this had done so a while back. So thing may have changed, of course.

[0] As in, if you needed/wanted to later take Physics II, you had to take Physics I at the UC, the AP test would not waive the requirement.
How to Install WordPress on a Ubuntu 14.04 LTS Cloud Server
I am not using modular editor in WordPress - found it too limited and not keyboard friendly. But that's just my own experience - for someone it could be OK.
YouTube’s Content ID System Is a Lucrative and Secretive Revenue Stream
So right, if he knew more he could give better examples ('das Weib', a nowadays pejorative term for woman (related to 'wife' presumably) doesn't have that diminutive structure and is still neutral), but his point still stands? This feels like Gettier problem territory. :P

> diminutives are always neuter

I assume you mean to only talk about "-chen"-suffixed diminutives right? [ there are other kinds of diminutive construction in German that aren't neutral - e.g. -ling , Zögling, takes masculine ]
Why do countries and companies invest their own (?) money in Quantum Computing?
> Our former .NET engineer now says, “Being able to call a function that doesn’t return an error and know for sure that it must succeed is really nice.”

Except when it panics. The article lacks substance honestly.

That being said, it further cements the notion that golang has been a replacement for Python and Ruby, not Java/C#/C++ as originally planned.
It only refers to how one socializes if one believes gender norms are immutable (which they are not).
You're not wrong, mistakes were obviously made with C++ (and Rust for that matter).
Replacing Elasticsearch with Rust and SQLite (2017)
R5RS is 40 pages and you can do so much more in that language.
> either we play the game of picking and choosing whose use of electricity is less useful than others

I keep hearing this argument from bitcoin enthusiasts, and I don't understand why this is a bad thing. Electricity for heating, for cooking, for entertainment is constructively used. Cryptocurrencies are the only case I know of where electricity is deliberately used to the minimum possible effect, with verification that that was the case. The only benefit is the thrill that people get by using them to speculatively gamble.

A utility isn't an end goal, but rather in order to enable some activity from it. Utilities are provided such that they can enable some benefits to society. Using a utility in an unexpected way that benefits society is a fantastic thing. Using a utility in a way that is not beneficial to society, and that prevents beneficial uses of that utility, then it is perfectly reasonable to restrict usage.

In this case, since monitoring for cryptocurrency validation would be indistinguishable from productive high-electricity usage, a better solution would be to target the exchanges, to remove the incentive for cryptocurrency validators to waste electricity. Cycling through other currencies would then be treated like any other form of money laundering.
I took it as "removing syntax left more space for other stuff"
The Reverse Design series by Patrick Holleman is quite good in my opinion. I particularly enjoyed the one on Chrono Trigger.
> They don’t mean because of material damage,

I think he did in that case, but of course it causes psychological damages among other things....
Just want to add that Go is ready for webdev pretty much out of the box, you don't need a framework to work with HTTP requests, routing, basic auth etc. There are things like gin/mux that makes it more convenient, but absolutely not necessary.
Honestly the charts in the paper is not very convincing. The outliers are all over the place and there is hardly an association judging from naked eye.

(e.g: imagine seeing figure 4 without the model prediction in the background)
It's funny how far you are away from truth.
I don't (as a rule) fly, so I certainly haven't visited as many far away cities as you. However, don't you find that increasingly contactless payment just works anyway?

Certainly all Oyster terminals have accepted my Android phone for some time

[If you use it constantly I believe the cheapest options still involve paying up front for an Oyster - but visiting once a week for work, or a few days on holiday the system tracks where you went, then works out after the fact what the cheapest way to do what you did would have been, and charges any contactless payment system accordingly]
Counterpoint: There are lots of engineers who are pretty excited about Go. Go ranked #5 in the 2020 StackOverflow Survey's "Most Loved Languages" section, for example, and I've never even heard of an account in which the manager lobbied to use Go for a project--it's almost always bottom up. Seems like it's not just managers who appreciate being able to come into a project and quickly come up to speed and contribute. It's strange to me that you portray that property so negatively.
>It is just that a behavior in aggregate is harmful and this in mind makes it defensible for government to forbid it, especially when a viable alternative exists.

Are "disgusting paper straws" really a "viable alternative" to plastic straws?
Bette Graham, inventor and founder of Liquid Paper
GitHub and Stackoverflow are interesting cases from a webfont perspective. They have the benefit that most of their users are repeat visitors that means they'll likely have the designers prefered fonts cached from a previous visit. They also both need to support EVERYTHING. Could you imagine the HN posts if they didn't? "Github doesn't support U+25C8! This crashed my Rust server, invalidated my identity, and made my grandparents cry!"

In that StackExchange post you linked to, they mentioned make their own branded web font. That's definitely what I would be advocating for if I were there. The case for Github making their own font is even stronger. Microsoft has a very good font team. Designing a family of brand fonts for GitHub would be a very cool project (How many brands care about their fixed width font as much as github?)
So you are telling me that people do not travel 5x(10x) per week to work, and THEN in weekends by metro/buses? And its minority?
I made a Chrome extension which avoids duplicate tabs (based on their URL). http://chriswarbo.net/git/chrome-duplicate-tab-detector

I made it when developing Drupal sites, whose test output end up with lots of temporary HTML pages (response snapshots).
I work as an architect for a consulting and off-shoring megacorp. I mainly work for European clients in the oil and gas sector, but recently have worked in finance too. I find Visio (or any visual diagram tool) useful for hacking together a diagram collaboratively.

I also have a side business (me and a co-founder), and I'm planning on making the plunge and going full-time on it in the next few months - there too I've used Visio, because it's what I'm used to, and I get a license with our Microsoft Action Pack subscription. Here though, I'd probably prefer to move to a declarative model, like PlantUML (I only recently found out it works with icon sets, so can do things like nice architecture diagrams too).
In fixed space, like newspapers, human editors would add or remove words in order to make the end result aesthetically pleasing. Non fixed space lacks this feedback loop, so you can end up with text that is both justified and awkward more often.
Use Feature Folders with Asp.net Core
How do US bases in South Korea protect the US rather than, well, South Korea?
I made my own HTTP app. server and distributed JSON database: https://github.com/tinspin/rupy

On top of this I have made many projects and I still use all of them today even 10 years later, some favourite:

http://fuse.rupy.se (multiplayer system)

http://tentacle.rupy.se (digg)

http://sprout.rupy.se (wordpress)

http://talk.binarytask.com (reddit)

I also made my own cloud service both with my own hardware and on top of GCP:

http://host.rupy.se (raspberry 2 cluster)

http://host.binarytask.com (GCP)
> "Were a new 'tower' show up in an odd spot -- there may be shenanigans at hand."

Or maybe it's simply https://en.wikipedia.org/wiki/Mobile_cell_sites
That’s roughly what I expected. Of course we would like to imagine that it’s feasible to hit a zero-tolerance target, but at the scale at which food manufacture happens, reasonable and strict maximums are the best we can manage, as long as the products are still safe. That and I knew the FDA was considered one of the top agencies of its kind for quite a while, though I don’t know if this is still the case.