HNHacker News
TopNewBestAskShowJobs

kiriakasis

408 karma · joined February 29, 2016

I am against crime, and i'm not ashamed to admit it. --- I am math/logic/computability student wondering about my future... I really like programming languages and reading of other people insight of technologies and ideas.

(still unsure about how to use this site, hope to learn soon)

submissionscomments
kiriakasis··on Portable Text – JSON rich text specification for content editing platforms
>> XML is superior to JSON for text documents. Far superior.

> Why do you think so? Is it because most structured texts are Trees?

XML allows for mixed contents. If I am reading this proposal right to change

    <span>Some <b>formatted</b> content.</span>
into

    <span>Some <b>forma<i>t<i/>ted</b> content.</span>
you would essentially produce the equivalent of <span>Some <b>forma<b/><b><i>t<i/><b>ted</b> content. </span>

as the "text" field cannot contain childrens.

kiriakasis··on Portable Text – JSON rich text specification for content editing platforms
> (in the original sense of markup: Text annotated with style and semantic information)

JSON is not annotated text, it is structured data that contains strings. It is a minor difference if you only use tools to manipulate it though.

kiriakasis··on Measuring the “Filter Bubble”: How Google is influencing what you click
> Lastly, the insinuation of the article is that "unbiased" search results are clearly preferable.

the insinuation is that you should know if they are biased or that you should be able to get unbiased result if you so wish.

It also raises suspicions on how much google tracks each user.

From this point of view what would be interesting would be a local study, to see in 100 people all in the same neighbourhood with different browsing habits have different results. this would eliminate the "non-tracking" part of the personalization.

kiriakasis··on Measuring the “Filter Bubble”: How Google is influencing what you click
But their searches were (at least partially) political in nature, so a result of a national news site talking of a local news would be relevant. "gun control" is location dependent is there is a protest at your city
kiriakasis··on Measuring the “Filter Bubble”: How Google is influencing what you click
> I think people will switch back to Google because they find the results more useful, even in privacy mode.

I now use duckduckgo as default search engine and my experience is mixed.

The problem with google is that sometime you search for something new and then you see the bubble very clearly, which applies non only to search but also to youtube (maybe even more).

The problem with duckduckgo is that you are searching for something specific or something you saw months ago and don't remember well then google's index and tracking can be useful.

kiriakasis··on Why Do Hospitals Hate Sleep So Much?
I think the parent refer to its own solution as stupid "it is stupid that they would use a pill if possible"
kiriakasis··on NULL: The worst mistake of computer science? (2015)
the main numeric type is usize
kiriakasis··on NULL: The worst mistake of computer science? (2015)
I might have confused optionality and non-nullability...
kiriakasis··on NULL: The worst mistake of computer science? (2015)
Cannot understand this position... a non-nullable pointer is pretty much just a normal pointer but the compiler checks if you have tested for null. In rust (and I believe Swift) optional references also have the same size as normal pointer. In some version of non-nullables you only need checks for dereferencing and not for other handling.
kiriakasis··on Microsoft is building a Chromium browser to replace Edge on Windows 10
https://twitter.com/SwiftOnSecurity/status/10697763353362923...

The focus is electron "This isn’t about Chrome. This is about ElectronJS. Microsoft thinks EdgeHTML cannot get to drop-in feature-parity with Chromium to replace it in Electron apps [...]"

kiriakasis··on Quora User Data Compromised
I always do that when possible because I am lazy and it works too damn fine, but it is a nightmare from a privacy point of view.
kiriakasis··on Quora User Data Compromised
Also usability, most people just don't care enough. (which is reasonable often)
kiriakasis··on Quora User Data Compromised
I also do that (almost, keeweb + dropbox) and copy paste logins, but a serious problem is that you need to clear the clipboard after, otherwise any other site you visit can read it.
kiriakasis··on How I Wrote a Modern C++ Library in Rust
I would say that there are only downsides in going that way.

If you take on a full rewrite you lose a lot: you can't show that you are incrementally better, you cannot show that it will be a good long term investment, you must rewrite even well maintained core parts that works fine, you don't get to improve the original engine with the good parts and essentially you get nothing in return.

For a much better answer than mine: https://www.joelonsoftware.com/2000/04/06/things-you-should-...

kiriakasis··on Spectre Mitigations Part 2
> if you are 100% sure that the code in it is trusted, then there really is no reason to sandbox it, right? If the intent is to only run trusted code,

Trusted code can have bugs; sandboxing, in a sense, is always useful (not always beneficial)

kiriakasis··on Spectre Mitigations Part 2
https://news.ycombinator.com/item?id=18527535

Another story pointed out that wasm today still lacks a few features and so, mostly regarding run-time inspection, has drawbacks server-side.

In the article there is no mention that wasm tomorrow could be quite different from wasm today; overall I believe the optimism is warranted.

kiriakasis··on UTF-7: a ghost from the time before UTF-8
> AFAIK the only advantage of UTF-16 is that it's a little more efficient when encoding text written in certain scripts.

and IIRC east Asian languages (which benefit the most) almost only use UTF-8

kiriakasis··on “Stylish” is back, and you still shouldn't use it
by that logic it should have less ads than android
kiriakasis··on Students Evaluating Teachers Doesn’t Just Hurt Teachers, It Hurts Students
well, forcing another teacher in the class with the intent of supervision of the teacher is obviously a terrible idea. Having two teacher in every class collaborating during the lecture or as an aide to supervise the students can be a obviously good idea.

Generally speaking, in my opinion, teaching is a very complex and personal interaction and micromanaging only makes it worse.

kiriakasis··on Students Evaluating Teachers Doesn’t Just Hurt Teachers, It Hurts Students
I think the problem is when student evaluation have an affect (positive or negative) on the teacher career.
kiriakasis··on Dot Dot Considered Harmful
Maybe it is just that I overuse the internet, but if you have simple needs web interfaces are actually really good. most of them are broken, but to navigate a media list (photos, movies, albums, pdfs etc. (maybe not text file)) the most comfortable interfaces are often web.
kiriakasis··on Dot Dot Considered Harmful
> removed on a whim

They changed the whole concept of having one single root. As I understand the plan is to use many fragmented and independent filesystem handles that can optionally mounted together.

So the restriction is more about non being able to access a folder if you don't have access to an appropriate handle.

Paths like folder1/folder2/../folder2/file are still perfectly fine.

kiriakasis··on Dot Dot Considered Harmful
you can define a root filesystem and mount everything you want to access there. the restriction is that your program (or a compatibility layer) should always keep an handle on the root filesystem.
kiriakasis··on Dot Dot Considered Harmful
well actually the article complains about stuff like

https://github.com/fuchsia-mirror/../internal-page/secret-re...

which quite more serious

kiriakasis··on Dot Dot Considered Harmful
> unless knowing an absolute path was enough to allow you to access it

If understand correctly in fuchsia "absolute path" is always relative to a filesystem handle so knowing it and being able to use it are pretty similar

kiriakasis··on YouTube will delete existing video annotations on January 15, 2019
even if at times google did replace their own videos.
kiriakasis··on Chat app fined for plaintext passwords under GDPR
or forbid password from having white spaces and only check at word boundaries
kiriakasis··on Chat app fined for plaintext passwords under GDPR
Regarding this point a "generate password" on the right click menu would be fantastic in a browser.

most people use the built in password manager anyway

kiriakasis··on Chat app fined for plaintext passwords under GDPR
> if banks were not liable for any money lost by a user if it could be shown that the user was using their banking password for any other service.

I believe in some places this is the case.

If you get hacked or use 123456 as password it is not the bank fault. If a service get hacked and the attacker discover your bank password it is not the service fault if they did their due diligence in securing your data.

kiriakasis··on Chat app fined for plaintext passwords under GDPR
https://news.ycombinator.com/item?id=18380865#18381842

Passwords will never die. also by outlawing them either you force everyone to re-register to every site they want to visit or give all the power to single-sign-on services like facebook and google.

← PreviousPage 4 of 10Next →