Hacker News new | past | comments | ask | show | jobs | submit | Ruud-v-A's comments login

Is that using the Lua interpreter, or LuaJIT?


That webpage says Lua 5.3.4 and seems like LuaJIT does not support Lua 5.3.4


Could Numpy be considered the APL renaissance? Not in syntax, but conceptually?


No, not for terseness. Numpy is nice because it extends Python in a reasonably good and efficient way but standalone it doesn't do much of anything and Python is so much more verbose than APL. That's the beauty of APL in a way: there really is nothing left to remove.


It can be both! https://github.com/baruchel/apl

What I'm craving is APL for TensorFlow...


If we're going that way, I'd say Julia is closer.


In fact, it can get extremely close:

https://www.youtube.com/watch?v=XVv1GipR5yU

And since you can define your own operators, you could just go all of the way.


You can't define operator precedence though!! (That's a good thing). There was once a Julia talk about a really old programming language which disallowed any operator groupings without parens except for the basic seven or eight.

https://gist.github.com/ityonemo/6512f3b4fd02b9a9cc292cf0f88...

also string macros are cheating!


> it would be great to use something like guix to define all the libsodium+zeromq+czmq+zyre dependancies and be able to spit out an 'ultimate container image'

You define a package for your own project that depends on libsodium/zeromq/etc from GuixSD. Then you export your own package with 'guix pack'. For an example of what a package definition looks like, take a look in /gnu/packages in the GuixSD repository, for instance libsodium [1] or Vim [2].

I did something similar recently to build an Nginx "application bundle" [3]. It uses Nix (previously Guix, but Nix worked better for me in the end) to build a squashfs image. You can then run the binary on that filesystem with systemd-nspawn, or as a regular service by setting RootImage=. Some advantages over the Docker approach are that you can easily customise the build (e.g. changing the ./configure flags for Nginx without having to manually perform all other build steps), and bit by bit reproducibility (if you build the same commit six months from now, on a different machine, you will still get the same image out).

[1]: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages... [2]: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages... [3]: https://github.com/ruuda/miniserver#readme


Pik can synthesize noise. https://github.com/google/pik


That is what I expected as well, but it turns out not to be the case. See also https://www.ece.cmu.edu/~ece548/hw/lab3/faq-do~1.htm and https://encode.ru/threads/2922-Knusperli-%E2%80%94-a-better-....


So could one define an "inverse" JPG standard that works with the current version but has the advantages that tialaramex spoke about?


You should not write a CRUD app in 2018. Update and delete are remnants from the times where memory and disk were expensive, and update in place was a necessity. This is no longer the case. Apart from a few very specialised use cases, there is no need any more for update or delete. Record new facts and don’t destroy the older ones.


Going to laugh when anyone audits you for GDPR compliance. This is the exact sort of shit the laws are being brought in to prevent.

If a users wants data deleted they want the data DELETED, not kept for a hacker to hoover up in a few years time.


Still counts as CRUD. If it helps you sleep at night, consider the "RUD" as "replace, update or delete things from the default-visible set".


This is not true generally anyway (in most mainstream systems it is much simpler to update or delete when appropriate), but please consider e.g. the GDPR where the ability to delete personal data is mandatory, and the "keep everything forever" mindset is precisely what that legislation is designed to remedy.


What should I use to write a CR app?


Probably Object Oriented


Or you can use features such as Temporal Tables with SQL Server


“Cache line sizes have not significantly increased since 2009, so 8 should still be optimal for 𝑟.”

Cache line sizes don’t change insignificantly — they change in powers of 2. Cache lines sizes for Intel x86_64 CPUs have not changed at all since 2009, it’s still 64 bytes.


I was under the impression that Debian is in the process of moving to Pagure [1]. The reasons mentioned in the LWN article are not invalidated by Gitlab's announcement of dropping the CLA.

[1]: https://lwn.net/Articles/724986/


Based on the Debian Wiki, plans have since changed[0] (unless this page is outdated?). That LWN article is from June, the wiki article was last edited in September.

My understanding from the mailing list is that they're planning on using GitLab, at least that's what I heard last. I could always be wrong.

[0]: https://wiki.debian.org/Alioth#Deprecation_of_Alioth


You are right. Part of discussion starts here: https://lists.debian.org/debian-devel/2017/10/msg00264.html


I am curious, what constitutes “traffic”, and if it is page loads, why is it the right thing to measure? Users who load the page are already visiting, regardless of whether there is an ad on the page or not. (Or does it include a delay to filter visitors who immediately close the page?) And they did not know in advance whether there was going to be an ad, so their decision to visit the site is not based on the presence of ads. (Unless perhaps if they had a particularly bad experience a previous time — bad enough to remember the domain and not follow the link.) I don’t understand how turning ads on and off every two days can be used to understand long-term effects. There appears to be the assumption that there is a relation between a user seeing an ad or not, and subsequent traffic. There might be a small correlation because of visitors browsing the site, or likeliness to share, but if outside of the spikes, the majority of visitors arrive from an old external link or search engine, and they only read a single page, then how does turning ads on and off every two days measure impact on these users?


It is probably a combination of performance impact, lower page views per visit, and lower return rate.


https://www.visualstudio.com/downloads/ includes an MSVC compiler.

http://www.msys2.org/ can be used to install GCC.


Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: