HNHacker News
TopNewBestAskShowJobs

hexmiles

664 karma · joined December 28, 2016

submissionscomments
hexmiles··on Go Statement Considered Harmful (2018)
if not catched in a recover() a panic when reach the top of the stack of the gorutine always cause a crash. I did not changed, as far i know is this way at least since 1.0
hexmiles··on Ask HN: Go programming language is over ten years old. What do you think of it?
I introduced it where i work. While it has some drawback (as any language) i find myself most productive when i'm writing in go.

Just this week i wrote an entire toolchain for developing with an embed device, that now i can distribute to anyone that need to work on that project.

Before go i used nodejs/python due to the large ecosystem of library, but go nowadays has a similar ecosystem and allow me to build static executable without any dependency. That is super useful since i work with different OS (ubuntu, fedora, windows and macos). Also even sloppy/draft code is really fast and i don't need to start optimizing and profiling from the start like in python (i often process large dataset).

Lastly the language is very simple and my colleague who ,didn't even know go, learned in a week and, most importantly, is able to navigate my large codebase without much help (that for me is the biggest advantage of go)

hexmiles··on Fossil
yes
hexmiles··on Harfbuzz creator seems to be in political emergency, needs help ASAP
Can someone provide some more context, it seem in danger but i cannot understand what is happening.
hexmiles··on Luckysheet, an open-source spreadsheet
They really are, i want a self-hosted airtable so bad...

I just found out you can sponsor them: https://github.com/sponsors/bram2w

hexmiles··on The Galaksija computer was a craze in 1980s Yugoslavia
I've heard being attributed to Hesiod from a talk by Adam Conover, but i've not investigated.

EDIT: sorry, apparently it's also a misquotation:

https://www.quora.com/Which-ancient-Greek-spoke-of-there-bei...

hexmiles··on Video Vectorization
Not a special encoder, but i've seen (and used) waifu-2x to upscale low-bitrate/low-resolution video.

I also swear that I've already seen a vector/cartoon optimized codec, but my google-ability are lacking.

hexmiles··on H.266/Versatile Video Coding (VVC)
not an expert, but from what i understand is more like that they "extend" the codec with technique more effective on higher resolution content, or new "profile" (parameter) more effective for higher resolution content (a bit like you can have different parameter when you zip file).

This new techniques can also be used for 1080p video (for example) but with lower gain. Also the "old" algorithm/system are generally still used but they may be improved/extend.

hexmiles··on The fall of Quibi: how did a starry $1.75B Netflix rival crash so fast?
I first became aware of it from a friend in the states, and i tried on my phone.

Edit: i'm not aware of any marketing in EU, and also i needed to get through some hops to get the app

hexmiles··on The fall of Quibi: how did a starry $1.75B Netflix rival crash so fast?
I'm (in theory) the target demographics for this app. I love short content (YouTube, podcast, web-comics, etc...) and always on the go.

The main problem (for me) was the lack of content, for some reason they didn't tap in the YouTube ecosystem where there is plentiful of talent that specialize in the short (10 minute or less) format, Minutephysics is the first example that come to mind. Instead they went for the big-star tactics that really doesn't work.

I watched all the show and, while some of them are good, the vast majority is only "meh". This plus the low number of show and episode, doesn't allow me to justify speeding the money of the subscription.

It seem they tried to do Netflix "but short", instead of specializing in on-the-go entertainment. They don't even have podcast!

However i really want a service with curated short content, but i want more than video! I'm also interested in podcast, articles (side note: can someone recommend summary "this-week-in-[argument]" site or channel?). I currently use YouTube, but a more curated multi-media platform (without ads) would be awesome and i would pay for it.

hexmiles··on Microsoft is shutting down Mixer and partnering with Facebook Gaming
not sure about others, but for twitch if you become a partner, required for most (all? don't remember) monetization you can't stream to other platform.
hexmiles··on Booting embedded Linux in 0.37 seconds on an ARMv7-A CPU at 528 MHz
Not on some amd board. It's a common complain, my previous board would have a pre-bios delay of 5 to 10 second with xmp enable and still up to 5 without xmp. I changed board and it's now a lot better, but still slower than intel.

ps: xmp is probably an intel only name, but i cant remember the amd one.

hexmiles··on MuseScore 4: Moving from notation software to composition software
Does anybody knows other youtuber, talks, blog, that criticize real-world user interface? Is a fascinating topic
hexmiles··on MuseScore 4: Moving from notation software to composition software
they actually hired the person behind this video (tantacrul):

https://www.youtube.com/watch?v=4hZxo96x48A

It criticize the user interface and experience of various music application. I find it very entertaining yet still informative

hexmiles··on SQLite as an Application File Format (2014)
are there any other "file format oriented" data storage system?? I see software tend to use zip file, sqlite or good old ole structured storage.

In my job we used a fat filesystem as a storage system and recently switched to sqlite, and while i love it i didn't really find any alternative.

hexmiles··on Ray tracing in notepad.exe at 30 FPS
for linux there is scanmem and it's gui gameconqueror, which offer the same core functionality of memory scanning

https://github.com/scanmem/scanmem

hexmiles··on So you want to write your own CSV code (2014)
That's funny, when i was twelve i need to store some data and i didn't really know database or csv, so i actually used the ascii control character to implement tables and record. I later discovered sqlite, soooo much simpler...
hexmiles··on Janet: a lightweight, expressive and modern Lisp
thank you!
hexmiles··on Janet: a lightweight, expressive and modern Lisp
as someone who dosen't know the theory what is the difference between list and array? consing and splicing?

is there a pratical difference in the way you write programs or is more of theory/implemetation detail?

hexmiles··on PCSX2 PS2 Emulator: Progress report Q3 2019 to Q1 2020
The way some emulator use the gpu can be quite different from the way pc games use it.

You can look at this article: https://dolphin-emu.org/blog/2017/07/30/ubershaders/ for an example how console graphics programming differ.

Middleware designed for games don't allow nearly enough flexibility to handle all the possible edge case that can arise. Console gpu (and graphics api) and computer gpu don't map one-to-one and they need all the feature and support from the underlying api that they can get for replicating the console way of doing things, supporting a new graphics backend is a lot of work for this reason. middleware try to abstract common pattern and flows, but every console is quite unique (in some way) middleware are not build for that and often are (a form of) a lowest common denominator for graphics api. Which is fine... for games.

edit: some clarification

hexmiles··on Apple Watch detecting coronary ischaemia during chest pain episodes
where i am the SE is 500€. Is a LOT more than the 180€ that i payed my xiaomi. I wouldn't really call it midrange... but i guess it depends where you live?

Considering another 460€ for the watch it become very expensive.

Also not long ago 500€ (here) was considered a notch under top of the line.

edit: as a reference, feature phone extremely rarely surpass the 100€ on amazon and are generically around 50-60€.

edit: fix grammar

hexmiles··on Why Segment Went Back to a Monolith
> Also, a proper solution for true fault isolation would have been one microservice per queue per customer, but that would have required over 10,000 microservices.

I'm a bit confused, they seem to imply that they need a microservice per costumer/destination, but you generically have one instance (aka process) per costumer not an entire separate codebase. The article seem to use the same term for two different concepts. Or i am missing something?

hexmiles··on Xkcd: RIP John Conway
i tried on an online simulator and it actually works!
hexmiles··on Google cancels legacy Google Play Music subscriptions
Thank you, Yes what i meant was thinking was "forced" arbitration, but is not what i wrote.
hexmiles··on Google cancels legacy Google Play Music subscriptions
a bit of topic, but what is arbitration and why is it bad? We don't have it here in Europe (or at least is not very diffused).

Can someone eli5 for me? Thanks

hexmiles··on PCem – An emulator of old PC hardware platforms
Generally speaking if you want to run dos games, dosbox tend to be a better choice for most games, is simpler to use and there is a bigger community around it.

however, Pcem really shine in the amount of hardware supported and better support for windows. Also it seem to be more accurate, but i, personally, never found a game that needed it, but if you have some games that don't work with dosbox it may be worth a shot.

hexmiles··on Principles of Icon Design
you're right! The icon i selected was an example, i intended to use the drop like shape, without the word. I now realize it wasn't at all clear.

But even without the text it still has some problems, since without context you may think it mean body hydratation level or blood, unless you use colors (yellow, blue and red ) to distinguish between them, but even then, they are not always available/possible and pose accessibility problems, for visually impaired (is the correct word?) etc...

you could also use the text, if you target a specific locale, or also localizing the icons may make sense.

Since i don't know where this icons will be used i don't know what the best solution and i don't have a perfect solution.

I hope I have explained myself better.

edit: grammar

hexmiles··on Principles of Icon Design
You can use a icon just to rappresent fat (like this one https://www.flaticon.com/premium-icon/fat_1951542) and put it next to a person like a emblem in a similar way to this:

https://www.iconfinder.com/icons/2740474/personal_protection...

hope i did convey the idea.

edit: You should probably use a icon like this one https://www.iconfinder.com/icons/830113/character_figure_man... for the person instead the one i linked, since showing only the head instead of the entire body is not very clear (i used that one only for explain the emblem idea)

hexmiles··on Ribbons (2007)
the two are not mutually exclusive, are they? You can have a ribbon with standard icons right?

I see ribbon as an alternative to the menubar plus toolbar layout, more than visual style.

hexmiles··on Managing my personal knowledge base
Yes, but there are no good tool to do it. In my case i need to store a a lot of structured data and files. So i need a Document manager / Database. It's hard...

I started with excel a lot of year ago, migrated to access and now i'm trying nixoxdb for android (the only other acceptable alternative was mobidb).

The main problem is the ease to use, you need to create a table for everything you want to store, and nothing support an hybrid free-form AND structured data(while also been able to store files), so the solutions with good text editing are terrible at structured data and viceversa.

Other problem are the ability to sync or even open the database in more than a couple of platform and the ability to access the file embedded in the database from other application (there are others but this are the one that bother me the most).

I'm also evaluating notion, but i really don't want a cloud service since i store basically everything inside my main database and the ability to access years from now is a MUST.

Also i still not have a good solution for my email that are stored mostly in thunderbird and only some message are "exported" to my main database.

I'm thinking of building something myself based on sqlite, .net, dokan/fuse and something similar to syncthing. But it's a big project and i don't have a lot of time

edit: couple of fixes

← PreviousPage 4 of 6Next →