Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
laut
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
1.
▲
by
laut
6y ago
The Mercedes AMG C 63 S costs USD $76,200 (MSRP) in the US according to https://www.mbusa.com/en/vehicles/model/c-class/sedan/c63ws
2.
▲
by
laut
6y ago
The Wrangler 4xe is a plug-in hybrid and began production last year. That car is featured on the US website too. Jeep also has the Renegade 4xe and Compass 4xe. All plug-in hybrids. Fiat might not have brought them to the US yet.
3.
▲
by
laut
6y ago
Yes, the `phx-click` doesn't automatically get translated to a link or form submission. You can still design the page to work without javascript. For instance by having a "+" button be a normal form or link and then have phx-
4.
▲
by
laut
6y ago
> But with LV wouldn't you need to create both a LV and a regular controller? That's a huge amount of code duplication. You just do LiveView instead of a regular controller. No duplication. When you request a page, it is render
5.
▲
by
laut
6y ago
Apple copied that from the Beocom 6000 phone by Bang & Olufsen.
6.
▲
Adding a function to the Elixir standard library that I hope will not be used
(creativedeletion.com)
1 points
by
laut
7y ago
|
0 comments
7.
▲
by
laut
7y ago
Supply of housing can increase if it makes sense to build housing. Zoning and other regulation can make it impossible, risky or unprofitable to build housing.
8.
▲
by
laut
7y ago
In Denmark you can get milk at the grocery store that was inside the cow less than 24 hours ago. Ultra High Temperature pasteurization is not really normal in Denmark, but I think it is in Germany.
9.
▲
Data types and assumptions and how incorrect assumptions made a spacecraft crash
(creativedeletion.com)
2 points
by
laut
8y ago
|
0 comments
10.
▲
Using Elixir instead of cron
(creativedeletion.com)
9 points
by
laut
8y ago
|
0 comments
11.
▲
by
laut
10y ago
On the map ( https://www.passportindex.org/byRank.php ) Greenland should probably have a "more powerful" colour since they get a Danish passport.
12.
▲
by
laut
10y ago
In general people in Denmark don't have a ton of money to invest after paying taxes. If they do invest in Danish companies, those companies are held back somewhat by rules and further taxes. Some years ago there was a "entrepreneu
13.
▲
MacBook Pro Users Report Complete System Freeze After Installing OS X 10.11.4
(idropnews.com)
2 points
by
laut
10y ago
|
0 comments
14.
▲
by
laut
10y ago
Yeah. Weird, but amusing. And they seem so confident about it too.
15.
▲
by
laut
10y ago
Depending on what you need to do, UTC does not always work: http://www.creativedeletion.com/2015/03/19/persisting_future...
16.
▲
by
laut
10y ago
They might have more resources, but they also have constraints. For instance a tzdata update was just released yesterday. Apple has a lot of resources but I don't see an updated from them today on iOS nor Mac OS X. Elixir tzdata automa
17.
▲
by
laut
10y ago
UTC can also fail if your users need to see or enter times that are not in UTC. E.g. for a meeting or a train schedule or an appointment etc. See this http://www.creativedeletion.com/2015/03/19/persisting_futu
18.
▲
by
laut
10y ago
You are right. I have heard that one before too. That one is sort of implicitly covered by this part in the blog post: "CST is also used for: Cuba Summer Time, China Time, Central Standard Time (Australia). PST is used for Pakistan Sta
19.
▲
by
laut
10y ago
Operating systems kind of suck at it. Which is why for Elixir I made Tzdata ( https://github.com/lau/tzdata ) not rely on any timezone information from the operating systems. A feature I would like from operating systems
20.
▲
by
laut
10y ago
Hi. I'm the author of the article. And also of Elixir Tzdata and https://github.com/lau/calendar I recommend using Calendar instead of Timex. I'm curious: Why where you using e.g. GMT+5 or GMT-5?
21.
▲
by
laut
10y ago
The fault tolerance allow you to have processes and state to be available reliably for longer than the duration of a HTTP request. You can have continuously running processes without relying on something outside of the language. You can mor
22.
▲
by
laut
10y ago
Yes SF and NYC have rent control. And other regulations that make it less profitable to build and rent out homes. This reduces supply of rental homes, which increases prices. "In many cases rent control appears to be the most efficient
23.
▲
by
laut
11y ago
Also: Falsehoods programmers believe about time and time zones: http://www.creativedeletion.com/2015/01/28/falsehoods-progra...
24.
▲
by
laut
11y ago
It might be a English translation of a Danish way of saying "business jet". Talking about the type of plane. As opposed to bigger commercial jets. E.g. a Gulfstream V is a business jet often used by business people. Even when used
25.
▲
How more time types prevent bugs and add clarity
(creativedeletion.com)
1 points
by
laut
11y ago
|
0 comments
26.
▲
by
laut
11y ago
Good point. For that that situation you would want to use something like UTC (or TAI). It is the duration from the starting point that we care about, not the future date.
27.
▲
by
laut
11y ago
If the user expects 8:00 local time then it should stay 8:00 local time. That is at least how people would want their applications to work 99% of the time. If someone enters 8:00 and then the software suddenly changes it to something else,
28.
▲
by
laut
11y ago
Did you read the article? If a user wants to save a local time and you then convert it to UTC and save that instead, then it can in some cases be impossible to later find out what the entered local time was. The users will rightfully expect
29.
▲
by
laut
11y ago
It is not misguided, it is a good practice. Read more about why here: http://www.creativedeletion.com/2015/03/19/persisting_future...
30.
▲
by
laut
11y ago
AFAIK you can use the tzinfo-data gem. Someone needs to manually update it though. So far it looks like it is still on the previous 2015g and not on 2016a that just got released: https://github.com/tzinfo/tzinfo-data
More ›