skysight-inc/HackerNews huggingface dataset:
While it is true that with ruby you have to know more syntax, without previous knowledge of either language you caught on pretty fast.

To me it is more expressive of my intent to say "0 to 5, for each, do something" than "for something in the 0 to 5 range do something"

Also you happened upon what peeves me most about Python, you are not actually looping from 0 to 5 since range is inclusive at the start, but exclusive at the end. So while (0..5) gives you 0, 1, 2, 3, 4, and 5, range(0,5) will get you just 0, 1, 2, 3, and 4. Of course it's easier if you think that range() is rather "I want to take X steps", so if you just want to step 5 times range(5) does exactly what you need it to do.
I also tried using bullet-journaling for a while but fell back to the yearwise hardcover diary of sorts (something like my father used)[1]. I think that does the job easily without me getting bothered by creating things like monthly and yearly calendar and some other lists. The templates are already present.

Just for information, did you pick up bullet journal after using any other (paper or web) tools? Were there any advantages compared to the other tools?

Having said that, my problem is more about following the systems religiously rather than starting them. For example, creating a morning ritual to plan my day/month/etc. has been a difficult task because most of the times I plainly forget about it. :(

[1]http://www.graphicimage.com/v/vspfiles/photos/AJL-GTI-TUP-4....
I saw a bike chained to something once, little foldable bike, with the saddle missing. It dawned on me later that the owner probably took it with him, to make it less attractive to be stolen.
Ask HN: What are your go to examples of great software design and why?
So in schipol, you want someone to pay you 300 dollars and then awkwardly cut into one of the huge lines at immigration? Or is this for customs, where there is no line?
That's all well and good until you get those annoying modals that say something like "We see you are using an adblocker, please disable it to continue".

Some sites you can easily dismiss and they'll let you browse after (which makes the modal pointless) and other sites won't let you past unless you disable adblocking for that site.
https://outline.com/entYNq
What you describing is a forward contract, not futures.

What's the point in splitting hairs. A future is a standardised form of a forward contract, generally so they can be traded more easily. It doesn't affect the underlying financial concepts.
The new model still only changes the timeframe by a few years if accurate...
In future markets every day your position is marked and your balance updated with your profit or loss.

You have margin requirement and when you no longer have enough in your margin account your position is liquidated so you don't wind up losing more money than you had put in.
There's a heat wave happening right now though, 30 degrees+ (celsius) and damp, really not pleasant weather to go cycling.
I see janitors (called ayis here in China) walking around the office gambling their life savings on stock trading apps. Long term planning at work?
only works horizontally :/
I know I just got baited, but...

> Sort of like forcing emacs to do everything (peace be upon emacs).

Yeah, except that people force Emacs to do everything because it's more convenient and efficient to do things this way. Things within Emacs are much more interoperable than anything else[0] in your operating system - both by having a no-bullshit, powerful[1] and consistent UI, and by being designed for interoperability and third-party extension from the get-go. Basically everything that deals mostly with text - and that includes IRC, issue tracking, e-mail, etc. - is better done in Emacs than in a standalone (or God forbid, web) tool.

Emacs OS maybe a weird and unpopular mindset, but it's a very practical mindset.

--

[0] - besides maybe terminal utilities, but we're talking applications with UI here.

[1] - all the weird shortcuts doing text magic work on everything in Emacs, so the investment pays off across everything you do within this environment.
I think it still is most important to make sure you can't carry the locked bike away. It's mostly tool-less homeless people roaming the streets at night looking for an opportunity imo. Only bikes I got stole were not locked to a pole because I forgot or assumed I would be back in a minute and wasn't.

I agree about the shitty-ness, it is less likely to attract attention and you feel less bad leaving it out on the streets but I think most people would prefer to ride a nicer bike if only people with keep their hands off your property.
> not truly "IBM PC-compatible"

It's an embedded system, not a as low-power desktop.

If you are using it like an ordinary PC then you are probably using it wrong.
City of Joy Kolkata
GrowingStartup:startup growth app for tech founders and internet marketers
>This is a problem that will mostly solve itself, given enough time...

It won't. In this sense it's just like openness in software. No matter how much crap and unacceptable 'features' MS pushes on people in win10 (as an example), its usage will not shrink and people will not boycott these power-hungry assholes.

Same with this, the right to repair is fundamental and cannot be taken away. Yet, most just don't care and it will be taken away eventually.

Educating our children and those who we love is probably the best shot at this but it's unlikely it will be enough.
I've used https://github.com/jinzhu/gorm with Go, and it's ok. Sometimes I just use https://github.com/Masterminds/squirrel or https://github.com/elgris/sqrl with database/sql or https://github.com/jmoiron/sqlx
I've recently switched to Brave on my phone, I've got Firefox on the as well, but I prefer the UI/UX of Chrome/Brave.

What are the downsides I should know about?
Every time I start a new project, I try using latest webpack first. Result is always me getting frustrated and replacing it with simple `browserify` call with couple of `--transform` flags.

Recently I tried bootstrapping it with `create-react-app` and ejecting, so I can modify webpack config. `yarn start` kept linting something deep inside `node_modules`, and failing for some nefarious reason even after linting step was removed completely from everywhere I could reach. `build` command work fine, though, so go figure.

Not sure if "magic comments" will solve my problem, but it surely is nice to have simple alternative, thanks substack and everyone behind browserify! https://github.com/substack/node-browserify
You basically just recreated a forward where either party is able to unilaterally end the contract. (Forwards aren't standardized so can have weird quirks like this.)
OUR CONDOLENCES TO THE FAMILY OTTO WARMBIER
Lets start running android apps in the browser!
I recently bought an electric "bakfiets" [0], While in the city I never use the car anymore, the bakfiets is faster (24 kph + bike routes are always shorter in the city), can carry all groceries and 2 kids (1 in a Maxi Cosi) and I'm outside getting some exercise. It gets about 100 km on 1 charge (the less lazy you are the more km you get) and I can park it anywhere for free. It also lets me bike with my 4 y/o anywhere, when he gets tired he and his bike go into the bakfiets easily. These things are getting insanely popular nowadays, for good reasons. Now if only I would pay car taxes based on my mileage (kilometerage) instead of the weight of the car it would be a nice financial solution as well.

[0] https://www.keilerfietsen.nl/product/keiler-bambini/
VR headset from ex-Nokia employees with 'human eye-resolution'
> Automated systems are the only way it can function at all.

Not in its current form. Google with all its might hasn't even managed to remove those "work from home for $$$" youtube comments.

Google doesn't have a good way to incorporate human intelligence (users) into its AI. Pure AI has no chance against an army of highly adaptable humans.
Kudos, you are a brave man.

From what I know from Florianopolis, moving on less than four wheels (including walking) is just plain dangerous unless you have a physically separated lane. I know several people who got injured and I see many white bikes attached to posts on the road as a sign of "someone on a bike lost his life here".

Of course, the physically separate lane still has many wholes and occasionally a 30cm high "cliff" at its two ends but it shouldn't get you killed.

Florianopolis is made for cars and it feels like all attempts at allowing for bikes are half-assed at best.
So we're assuming that everyone only ever writes new code in a situation where auto insertion of parentheses would kick in and contribute. Don't you people have to edit existing code? Callback hell anyone?
> Nothing with clear "within a day" expectations. Email used to be that way, until too many peed in that pool.

This is pretty much purely a social issue, and should be set by the management / work culture directly. Nobody can force you to reply to an e-mail any more than they can force you to reply to a Slack message.

Because in private, I try to push as much communication as possible through e-mail exactly so that I don't have to reply to anyone within 24 hours if I don't feel like it.
Global coral bleaching event likely ending
It would be so awesome to have a central EU-wide bike number system, like Denmark has nationally: https://secondhandbikes.dk/en/how-to-check-if-the-bicycle-yo...
webpack is just more complicated, which means it takes longer to start - it also has some bad naming and quirks which happens when design-by-committee decisions take place.

the webpack book by survivejs takes a few hours to read completely, or an hour to read the important parts, and you'll be very comfortable with it.

https://leanpub.com/survivejs-webpack or https://survivejs.com/webpack/preface/
Standing with refugees and nonprofits that serve them on World Refugee Day
You're intentionally breaking up the sentence and dropping key words, reassigning new, contradictory meaning based on gut-feel: "I remember distinctly my first day, a full-time software engineer asked me to finish coding something that was to be pushed out in a firmware update later in the day."

That is unequivocal - the code was going to be pushed out in the firmware later that day.
All about love
I would love to do a real crypto FX futures market. Everything i read tonight seems so amateur hour.

Do the calendar spreads, implieds, volatility, high performance matching engine, and market makers.
And the scourge of that fucking "Open in App" button. THAT alone makes me hate Medium. I understand people's ire at the persistent sharing bar, but that doen't bother me nearly as much.
We haven't seen AMD HEDT yet, so comparing the 7820X to the 1800X is not apples to apples. (For starters, the former has twice the memory channels compared to the latter).
> Imagine deleting 87% of all the code that you have to maintain!

What if those 87% make your code easier to maintain and update?
This isn't something that is inherent to Debian packaging. So it´s not an RPM/DEB thing at all.

There was a proposal a couple of years back by one Debian member to do pretty much this, and buried somewhere on the Debian WWW sites there is an explanation by that person. Unfortunately, I mislaid the URL and have forgotten who it was.

The essence, however, is to do as Gerrit Pape happens to have done all along with xyr Debian packages. M. Pape split them into daemontools and daemontools-run, runit and runit-run, and so forth. One package installs the softwares and the service definitions. The other package enables+starts/disables+stops the services.

* http://smarden.org/pape/Debian/

* https://lists.debian.org/debian-devel/2012/06/msg00100.html

I do the same with my Debian packages.

* http://jdebp.eu./Softwares/nosh/debian-binary-packages.html#...

* http://jdebp.eu./Softwares/nosh/debian-binary-packages.html#...

The most oft-repeated complaints about the current system are that policy-rc.d requires that administrators have prior knowledge of the internals of a package, to know what services to whitelist/blacklist before installing the package and seeing what services it contains; and that both policy-rc.d and the general body of maintainer scripts in Debian and Ubuntu do not play at all well with systemd's own preset mechanism.
Sure - besides this small litle issue the article is great. I just noticed this as I few days ago I was wondering if I can use Lets Encrypt cert for OpenVPN
Would you mind posting an example of such a browserify call for someone who isn't too familiar?
>> There already exists a common currency through which we can trade. It's called ether

> Exactly. For every ICO that pops up, ask does this use case require a special token?

Well, creators of Ether have already got their share, didn't they? What should be the motivation of "dApp" developers in your opinion if they can't earn the way Ether developers did? Do you expect them to use Ethereum for the love of humanity? Because, you don't really need Ethereum to create decentralized applications. There were decentralized (p2p) forums way before the crypto movements. There is a decentralized (p2p) search engine that works just fine without Ethereum. If not ICO, why would I pay the Ethereum network to deploy my contract, develop an app, promote it, and then convince my users that they should pay the network to use my app, too (assuming that I hold 0.0000 of Ether and don't care about the rise of its price)?
Well anandtech already found that water cooling is simply insufficient to cool these for overclocking. You need an active thermal sink AKA a compressor cooler, and then you're still limited by the TIM-gunk; heat-spreader at 25 °C, core at 100 °C.

I suppose for the next generation Intel will announce that liquid nitrogen is basically required.
Sorry if that was a snarky reply. I have a deep hatred of ORMs.

In the past I've had great success with XO, which will generate Go code from an existing DB Schema:

https://github.com/knq/xo

It's really very good!
The old models you can just bend open, the material is very weak (just keeps out honest people).

It's not hard to break a modern lock but it requires more than a screwdriver.
Not a huge amount of experience with models this big, but a common problem I see in Ecology is a bit of a misunderstanding of how models can be used - they're only really useful as a representation of what is going on and a way of trying to look at a few variables.

A lot of the time models are seen as a kind-of black box, where you stick data in and get the right data out - doesn't quite work that way!
I believe the parent is suggesting that the task was created to be something exciting - not necessarily that it was entirely true in some way.
why tho
Bitnami is hiring https://jobs.lever.co/bitnami/c54f473a-17ec-4b73-9fb7-d1785f...
There's the tengine fork: http://tengine.taobao.org/ https://github.com/alibaba/tengine
I have 'stolen' my own bike after losing the key. It was in bright daylight in plain view with a ton of people walking by. No one said anything.
Yes, we could choose to solve a lot of these problems by pushing water higher.
Your comment isn't coherent. However, fighting a war in the 1830s and 1840s was most certainly in the best interests of Britain. Certainly your "long list of solution" wasn't a good enough reason for them to abandon their empire. And no, Britain didn't need to pretend. They were THE dominant power starting from the fall of Napoleon to the end of WWI.
Here's my Makefile, which includes all the configuration: react, babel, etc. (I do not have any dotfiles in root except for linter). `watch` recompiles on changes and has sourcemaps. You can require any node modules and calls to `fs.readFileSync` will be replaced with `Buffer` objects.

NODE_MODULES=../../node_modules
NODE_BINARIES=${NODE_MODULES}/.bin

BABEL_PRESETS=--presets [ es2017 react ]
BABEL_PLUGINS=--plugins [ transform-object-rest-spread ]

FLAGS= \
--transform [ babelify ${BABEL_PLUGINS} ${BABEL_PRESETS} ] \
--transform brfs \
--outfile ../../public/bundle.js \
entrypoint.js

build:
${NODE_BINARIES}/browserify ${FLAGS}

watch:
${NODE_BINARIES}/watchify --debug --verbose ${FLAGS}

What it doesn't have is any kind of automatic page reload or code swap and you can't `require` non-js files. There is also no minification for production build. I believe you can have those after couple of minutes on npm, but I haven't tried. Dependencies:

yarn add --dev browserify watchify babelify babel-plugin-transform-object-rest-spread babel-preset-es2017 babel-preset-react brfs
[1] Well, a GPU is somewhat geared towards this kind of workload. Both comparisons (Alto to modern CPU and Alto to modern GPU) have some meaning.
https://youtu.be/uMSV4OteqBE?t=1m16s + golden as in golden globes.
In semver land, every major release is a tragedy. I love that they're really doing hard (and free!) work to make the transition as smooth as possible, but I still wish the JS ecosystem culture would be more conservative about releasing breaking changes.
Higher clocks, much larger thermal envelope, twice as many memory channels, ...
RussiaDNSLeak: Summary and Archives of Leaked Russian TLD DNS Data
I second this recommandation. This book was really a good help setting up webpack for the first time.
But Skylake-X has a victim LLC now as well...

... I'd suspect the memory channels here.
I wonder how it deals with code that depends on variables that are known only at run time.
I can also recommend an undergrad text book called "The Molecular Biology of the Cell". New editions are expensive, but second hand or older editions can be had relatively cheaply.

https://www.amazon.co.uk/gp/product/0815341067
I have documented the steps I had to take here https://janweitz.de/article/creating-a-zfs-zroot-raid-10-on-...

Be aware:

Uefi did not work for me in VirtualBox with ZFS.

Booting with UEFI, ZFS and RAIDz works, but I did not figure out how to install the UEFI grub-boot on all RAIDz drives.

Therefore, if the one and only drive with the boot partition fails, I have to rely on an USB-stick as a backup-plan for the bootloader.

Probably if I could start over I would try to skip UEFI and use legacy booting and installing Grub in the MBR of each drive (if that is possible).

For encryption we are using Luks right now, since it encrypts block devices and ZFS uses these block devices to form its raid.

Luks needs to decrypt ALL raid devices inside the Grub boot prompt in order for ZFS to start its raidz.

To make this happen, we had to modify:

/usr/share/initramfs-tools/hooks/cryptroot and remove an early return in a for-loop in get_fs_devices() , since otherwise only the first device was decrypted.

Make sure /etc/lvm/lvm.conf contains use_lvmetad = 0

Make sure /etc/default/grub contains GRUB_ENABLE_CRYPTODISK=y
GRUB_CMDLINE_LINUX_DEFAULT=“text"

So, yeah, I am looking forward for zfs-native encryption on Linux to make booting "safer/easier".
It's so horrendously complex. I can already sense the "you-dont-need-webpack" wiki page being made by some pissed off developer out there!
>You're ascribing with morality (a human construct) or are diminishing (it's actually constructive) a natural and productive act that supports virtually all life on the planet.

I'm not sure what you thought I wrote but it's the opposite of what I outlined. My whole argument is indeed that morals are indeed a human construct, so that if someone laments the amount of violence, they should realize that to be able to make such a complaint you already need to have arrived to a point where avoiding violence has granted you evolutionary advantages and thus been selected for to some extent, hence making the question a closed loop. Otherwise, the question would not even be conceivable to our minds.

>I don't know who thinks that humans value nonviolence but they clearly don't read the news.

Just because we engage in violence very frequently doesn't mean it is not valued. There are many different evolutionary pressures coexisting together. At the largest end of the scale, having a less violent society is very much an evolutionary advantage, otherwise we would not have an ingrained sense of fairness, the notion of morality, or as you mentioned the desire to inflict normative violence if that standard of fairness is violated by another individual. These emotions and constructs exist because they bring an advantage, and they do ironically bring on a state of lesser violence through the applied threat of violence.

>a natural and productive act that supports virtually all life on the planet. To escape it we would need to escape nature itself.

Violence doesn't have a special status in the sense that it will be productive in any environment. Just like any other trait, if the conditions change to a sufficient extent, it will become obsolete. It's only positive due to the way things are currently working. We're by definition part of nature so we can't escape it, but that doesn't mean nature will necessarily remain the way it has been in the past.
> Trusted intermediaries can be decentralised.

The problem is how to reach consensus. Who decides which intermediaries have the correct view of asset prices? Ultimately, these parties will be the ones who decide the profits and losses of the participants. How is that an improvement over existing systems?

How do you propose solving the problem that parties with short positions in CFDs will want intermediaries who claim the asset price is lower than reality, and parties with long positions prefer claims of higher prices? How do these two parties -- who may earn immense profits from colluding with intermediaries -- reach agreement?

The whole security of the system boils down to what some intermediaries claim is the truth, and this fundamental problem is hand-waved away while pretending "blockchain technology" does anything to solve it. It's not an improvement over existing systems, it has exactly the same weaknesses (colluding intermediaries), except that it runs on top of a blockchain which makes no difference except for implementation complexity being greater.
ClojureScript and Electron
Presumably adding precise stack maps and object maps would be the first step of adding IMMIX. I mean it's the compiler that chooses where to place things in the heap and the stack, so it already knows where they are.
Hike beats WhatsApp to launching messenger app payments in India
That, or the seat got stolen. Some people have an odd sense of humor.
I haven't tried it yet, but this looks interesting too: https://posativ.org/isso/