HackerTrans
TopNewTrendsCommentsPastAskShowJobs

julesnp

no profile record

Submissions

[untitled]

1 points·by julesnp·4 ay önce·0 comments

View Inlining in PostgreSQL

boringsql.com
3 points·by julesnp·7 ay önce·0 comments

Malicious VSCode extensions discovered with millions of installs

bleepingcomputer.com
4 points·by julesnp·2 yıl önce·0 comments

Grain: The High-Level Language Optimized for WebAssembly

thenewstack.io
5 points·by julesnp·2 yıl önce·3 comments

Australian language with free word order provides unexpected insights

scientificamerican.com
19 points·by julesnp·3 yıl önce·0 comments

A bug in MySQL, or working as intended? You decide

dolthub.com
5 points·by julesnp·3 yıl önce·2 comments

The Sinclair ZX Spectrum Keyboard (2019)

wordloosed.com
2 points·by julesnp·3 yıl önce·0 comments

F# Fable 4 will offer compilation to Python, Rust and Dart

fable.io
2 points·by julesnp·4 yıl önce·0 comments

Surfshark backpedals on Fake News feature after barrage of criticism

techradar.com
5 points·by julesnp·4 yıl önce·0 comments

comments

julesnp
·2 yıl önce·discuss
The entire restaurant.

https://www.cbc.ca/news/canada/kfc-halal-menu-boycott-1.7258...
julesnp
·2 yıl önce·discuss
Balrogs would be under the Maiar category, but most have no recorded name. I suppose the one from the trilogy could have been listed as "Durin's Bane."
julesnp
·2 yıl önce·discuss
I think the way F# implemented it is pretty good: if you want to use a keyword or whitespace in a variable or function name, it has to be enclosed in double backticks.

e.g:

  [<Property>]
  let ``Reverse of reverse of a list is the original list`` (xs:list<int>) =
      List.rev(List.rev xs) = xs
julesnp
·3 yıl önce·discuss
I've used this in the past, but switched to Vimium-C after this incident:

https://github.com/brookhong/Surfingkeys/issues/1796
julesnp
·3 yıl önce·discuss
You wouldn't necessarily need to track every change, you could just have 2 tables, one which contains the last "saved" version of the document, and one which contains the last modified version of the document. Upon opening after a crash, if there is a more recent modified version, the program will ask if you want to load that version.
julesnp
·3 yıl önce·discuss
Don't forget centi-, deci-, deka-, and hecto-.
julesnp
·3 yıl önce·discuss
For my preferred layout in QMK, I have Caps Lock mapped to Caps Lock only on tap, and Control on hold. I also have the right Alt key mapped to Backspace on tap, Alt on hold, to give me an additional backspace which I can hit with my thumb, keeping the rest of my fingers on the home row.

http://www.keyboard-layout-editor.com/#/gists/4d894ef5848c4f...
julesnp
·3 yıl önce·discuss
Encrypted disks would be the key issue here, older CPUs likely can't handle the encryption work required.
julesnp
·3 yıl önce·discuss
Ah, I hadn't thought about international keyboard layouts, yes, that sounds like it'd be a pain to type.
julesnp
·3 yıl önce·discuss
If you already have Caps Lock remapped to Control, why not just use Ctrl-[ to get back to normal mode?

Ctrl-[ is the same keycode as escape in terminals, and it's much easier to reach. For me, remapping jk in insert mode results in lag after typing 'j'.
julesnp
·3 yıl önce·discuss
I would say the core goal of most living organisms is to propagate, rather than survive, otherwise you would see males of some species like Praying Mantis avoiding mating to increase their longevity.
julesnp
·4 yıl önce·discuss
You can use this plugin to get the same mappings in insert mode for Vim:

https://github.com/tpope/vim-rsi
julesnp
·4 yıl önce·discuss
I use the 'confirm' option in my vim config, that way I can always use :q and then get a prompt on what to do if a file's been changed.

I also map <C-q> to :q to speed things up a bit.
julesnp
·4 yıl önce·discuss
The automatic generics look at lot like how OCaml implements inference for structural typing.
julesnp
·4 yıl önce·discuss
> I also think there are also exceptions to tolerance in the case of an emergency, with the distinction that it has to be an actual emergency universally (agreed on by logical people), and also temporary unless it’s really, really bad (like everyone dies once we stop). e.g. covid in January-May 2020. If we had a super strict, solid covid lockdown when the virus first broke out, we may have actually eradicated covid. Yeah we’d be violating essential freedoms, we’d have to lock up or possibly execute people who go outside, and may even have to curtail anti-science speech. But with said lockdown we may have actually eradicated covid, IMO that is worth being intolerant of dissent for 3 months.

I'm sorry, but this is just a bizarre argument. I don't see how the outbreak of a disease with a 1% death rate [1], or even the initial 3.4% estimate given at the start of the pandemic, could ever justify executing people for going outside. Even China never went that far, is this really something you believe "logical people" would agree upon?

1. https://coronavirus.jhu.edu/map.html
julesnp
·4 yıl önce·discuss
To me that has to do with search results being tuned for relevancy, not due the the perceived quality of the information.