News for hackers. Stuff that matters.

houli

Re:Translating 10M lines of Java to Kotlin on Sunday December 22, 2024 @01:12PM (#42488030)
Kotlin 2.1 has added "Guard conditions in when with a subject" as an opt-in feature https://kotlinlang.org/docs/whatsnew21.html#guard-conditions...
That's not what happens. He runs his own fake ransomware on his own virtual machine while they are remotely viewing it.
Re:Hacking the Nintendo DSi Browser on Saturday March 04, 2023 @03:17PM (#35024096)
Twilight menu has all of those patches and applies them on the fly
Nomura has been around since at least FF5, and Kitase before that. Long before the Enix merger
Re:Why are people getting worse at “The Price Is Right”? on Sunday November 24, 2019 @07:22PM (#21624514)
This is what happened in Ireland when new taxes on sugary drinks came in. Drinks that came in 2L bottles now came in 1.75L bottles at the same price. The diet versions with no sugar remained in 2L bottles. Companies like Coke are now only making variants like vanilla or cherry flavours using their diet or zero sugar products
Re:GitMask – Develop Anonymously on Friday January 05, 2018 @04:19PM (#16081738)
Not sure that many OSS projects are going to be interested in merging a patch where a conversation with the patch author for review/feedback can't happen
You should be able to use a data URI containing the HTML string
Re:ECMAScript 2017 Language Specification on Tuesday July 11, 2017 @02:13PM (#14746539)
Could you have your "get" handler do its thing and have it forward on the arguments it received to the "apply" handler if necessary with an extra flag argument and vice versa?
Re:How Rust is tested on Monday July 10, 2017 @03:51PM (#14739062)
This is what Stackage(https://www.stackage.org/) LTS releases are in the Haskell world. A compiler and a large subset of the Hackage repository known to compile together and pass tests.
Re:Things that Idris improves things over Haskell on Friday June 16, 2017 @07:48AM (#14568114)
This is what the backpack feature landing in GHC 8.2 will allow you to do
Re:Things that Idris improves things over Haskell on Friday June 16, 2017 @07:43AM (#14568096)
You should be able to write your own named implementation of Cast and explicitly use it when calling cast to have different casts with different semantics http://docs.idris-lang.org/en/latest/tutorial/interfaces.htm.... But yeah, you'd still have to see what the standard library implementation does
Re:New Distros Coming to Bash/WSL via Windows Store on Thursday May 11, 2017 @02:03PM (#14318141)
https://www.suse.com/communities/blog/make-windows-green-par... they already have been doing it on their own
It's mentioned in the Wikipedia article that monad comprehensions are available as a GHC language extension
Re:Programming in the Point-Free Style on Wednesday April 12, 2017 @02:19PM (#14100303)
The category theory idea of a morphism is more abstract than a function. If functions deal with domains and codomains then certainly morphisms need new words to deal with the abstractions of those ideas that are specific to functions.
Also worth checking out is this https://www.youtube.com/watch?v=uR_VzYxvbxg conference talk by Simon Peyton Jones discussing the basic constructs of GHC core and how they affect inlining and optimisation
Re:Dafny – A programming language with a program verifier on Friday January 20, 2017 @08:40AM (#13443674)
The screenshot shows what looks like the emacs mode which actually just masks the ASCII you type with the unicode characters to make it look nice. In practice you're just writing plain ASCII https://github.com/houli/verification/blob/master/strings3.d...
Re:Dafny – A programming language with a program verifier on Friday January 20, 2017 @08:12AM (#13443520)
Yes, you can define predicates that take parameters and use them as the invariants
Re:Dash for iOS is now open source on Monday November 14, 2016 @06:03PM (#12954167)
From my experience apps only need to be re-signed once every 90 days. Not quite as much of a hassle but still one nonetheless
Re:Elm is Wrong on Wednesday November 09, 2016 @04:31AM (#12908535)
Purescript Pux looks to be what you're looking for https://github.com/alexmingoia/purescript-pux/
Re:New MacBook Pro Is Not a Laptop for Developers Anymore on Friday October 28, 2016 @11:41AM (#12817163)
Yep added in latest Sierra
Re:Ruby on Rails Tutorial on Saturday July 30, 2016 @08:26PM (#12195223)
The whole "setup your environment" phase is tricky for someone new especially if you're on Windows and probably caused a lot of people to stop reading before they even touched a line of Ruby code.
Re:Why Uber Engineering Switched from Postgres to MySQL on Tuesday July 26, 2016 @12:59PM (#12167048)
They're all famous scientists/mathematicians.
Re:Why Angular 2 Switched to TypeScript on Saturday July 23, 2016 @11:12PM (#12152063)
Not sure if you're being serious but GitHub truncates to 1000 files/directories.
Re:Rustls: new, modern TLS library written in Rust on Sunday July 10, 2016 @11:56AM (#12065994)
What about all of these Perl scripts generating assembly code for AES for every architecture under the sun? https://github.com/openssl/openssl/tree/master/crypto/aes/as...

Older »